Go Down

Topic: Arduino Simulators (Read 11477 times) previous topic - next topic

charalamposdoukas

Hello,

I have posted a brief overview of some (functional) Arduino simulators I have found on the web:

http://www.buildinginternetofthings.com/2012/03/25/arduino-simulators/

I would like to extend the list, so if you have any links feel free to suggest.

Thanks,
www.buildinginternetofthings.com

robtillaart

Thanks for the overview, very useful. Bookmarked!
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

charalamposdoukas

Thank you Rob, make sure you subscribe to the blog or twitter for instant updates and news!

Best,
Charalampos
www.buildinginternetofthings.com

Right now I am develop an Arduino simulator which performs API-level simulation so that debugging is possible on host PC. An agent will developed to run on Arduino boards to interact with the host simulation program.
http://www.arduinodev.com/arduino-simulator/
My Arduino blog: http://arduinodev.com/blog

liudr


Right now I am develop an Arduino simulator which performs API-level simulation so that debugging is possible on host PC. An agent will developed to run on Arduino boards to interact with the host simulation program.
http://www.arduinodev.com/arduino-simulator/


To correct you on wording as I was corrected by GoForSmoke, from your source code names I am thinking that you are doing an emulator with a PC host. What you are doing doesn't seem to be simulation:

http://en.wikipedia.org/wiki/Emulator

What they do here is likely simulation:

http://www.buildinginternetofthings.com/2012/03/25/arduino-simulators/

By the way, here is what I did on Dev C++ IDE including a few hardware library emulations. There is a list of emulated features. It's for my own projects so I didn't go so far to emulate things I don't need such as digital I/O. I was mainly debugging my user interface library and project code that don't deal with actual sensor or actuators.


http://arduino.cc/forum/index.php/topic,96197.0.html



Right now I am develop an Arduino simulator which performs API-level simulation so that debugging is possible on host PC. An agent will developed to run on Arduino boards to interact with the host simulation program.
http://www.arduinodev.com/arduino-simulator/


To correct you on wording as I was corrected by GoForSmoke, from your source code names I am thinking that you are doing an emulator with a PC host. What you are doing doesn't seem to be simulation:


I am not going to develop an emulator for Arduino because I am not going to emulate the hardware but just to implement API-level simulation which I think is more useful than an emulator.
My Arduino blog: http://arduinodev.com/blog

liudr

Stanly,

Put some more details on your site. I could not find what you are doing. I am not sure simulation is more useful all the time, maybe true for understanding hardware but not so for debugging c++ based software. One needs little details of register and flags in c++ codes. Just my 2 cents.

rom

I simulate Arduino board with Proteus software. I simulated examples here :http://hi.baidu.com/hyper99/blog/item/ee0e9b2f45873a341e308969.html.

Rom Huang


liudr


I simulate Arduino board with Proteus software. I simulated examples here :http://hi.baidu.com/hyper99/blog/item/ee0e9b2f45873a341e308969.html.

Rom Huang




Could you clarify what Proteus is? A search had too many hits. What is it?

sixeyes


Could you clarify what Proteus is? A search had too many hits. What is it?

Check out:

http://www.labcenter.com/products/vsm_overview.cfm

Iain

Virtronics

#10
Apr 22, 2012, 05:42 am Last Edit: Apr 23, 2012, 12:11 pm by Shields_Arduino Reason: 1
Simulator for Arduino Version 0.96 has just been released. To see the changes, please try out the new test sketches in the 09 Test folder and the 22 Libraries folder. There are still lots of issues, and the custom library code is maybe only 50% complete. The help file has also been updated with credits to Pro Users who have found anomalies. A powerful new feature is being able to set a BreakPoint condition in the Edit Sketch window (accessed by pressing F6). We will have a new video shortly.
We have been getting other mentions here:
http://www.maffucci.it/area-studenti/arduino/
http://it.emcelettronica.com/simulatore-arduino

Hi Charalampos and Stanley, thanks for the mentions. Stanley, would you be able to change the download link to the new SetupF.zip file since the other file is out of date.

Charalampos, your book sounds very interesting. Can you tell us more about it, and will the next edition have a page about Arduino Simulators?

Stanley, I think I understand what you mean. This is not a true emulator since there is not a high-powered FPGA running the code, but simply inserting code into the sketch and then having a serial debugger to be able to view variables etc. This has potential and it would be good to know more. With Atmel, there are three emulators - Dragon, AVR JTAG ICE and AVR One. With the Mega328, this requires using the JTAG interface which means that 3 or 4 pins are not available for the sketch which really makes any emulator useless. The Tiny series use the reset pin as a debugWire and this works well. With the new Xmega series, there is a PDI (program and data interface) which allows for emulation using the AVR One.

http://www.youtube.com/watch?list=FL83FyWwQgNhOOGvQhRHJ3vQ&feature=player_detailpage&v=QOwv85s0daw
www.virtronics.com.au

Go Up