Professional Documents
Culture Documents
About
Recent Works Are On http://thinkcreate.us/
search
skip to content ↓
Home
My gadgets
Uncategorized
Arduino is easy to use. But it may be hard to debug. Here is a simple tutorial of debugging it in Proteus.
Arduino IDE can generate hex and elf files of the sketch in verifying process. But in default they will be built in the temporary
folder of the system which is hard to be found. I found a way to change the build path of the Arduino to make it much easier to
be found.
First the actual location of the preference file is described in another preference file in “arduino IDE path/lib/preferences.txt”. I
think the Arduino just inherits it from processing, so the location described is the Processing’s one. But Arduino’s file is in the
similar path.
Then open the right preferences file. And add the build path you want.
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 1/7
6/3/2020 Debug Arduino with Proteus « Think Create | Deqing Sun
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 2/7
6/3/2020 Debug Arduino with Proteus « Think Create | Deqing Sun
So we can create a Proteus project and add an ATmega328. Set the program file correctly and adjust the clock frequency to
16M.
Finally you can start you project, switch file to your sketch and set breakpoints as you wish to debug the program freely.
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 3/7
6/3/2020 Debug Arduino with Proteus « Think Create | Deqing Sun
Sugianto
February 1st, 2012 on 3:32 am
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 4/7
6/3/2020 Debug Arduino with Proteus « Think Create | Deqing Sun
Where could I get the arduino files?
I download arduino proteus design from tinyurl.com/3lncep3 then I open it using Portable Porteus Professional 7.6 and I
run it, but it shows error like this:
seer
February 1st, 2012 on 1:43 pm
edit setting of the AVR chip by double click it. Compile your Arduino project and find the hex file, then change the file
location in Proteus to it.
Sugianto
February 8th, 2012 on 9:36 pm
Yeah it works!
Thank you!
Anw for any of you wants to download the software full and clear step by step here
:http://www.4shared.com/file/DAUDcW80/Proteus_78.htm
Sugianto
February 8th, 2012 on 9:55 pm
Sugianto
February 8th, 2012 on 10:01 pm
serjio
April 25th, 2012 on 6:13 am
seer
April 26th, 2012 on 9:37 am
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 5/7
6/3/2020 Debug Arduino with Proteus « Think Create | Deqing Sun
vickra
December 7th, 2014 on 8:38 pm
i want to study about arduino procesing until work.. are you have easy circuite example to start study,, maybe is circuite
to controlling 4 motor servo. thanks..
vickra
December 7th, 2014 on 8:39 pm
Leave a Reply
Name (required)
Website
Leave comment
No soy un robot
reCAPTCHA
Privacidad - Condiciones
My Portfolio
Recent Posts
Import data from spreadsheet to quickbooks with emulated keypress
Debug STM32 with VScode
nRF51822 with Arduino development
WebBluetooth With CC2541
Blink an LED the hard way
Phosphorescent message card
Google Glass controlled flashlight
Plastic push-in rivets fastened laser-cut box
ftdi processing
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 6/7
6/3/2020 Debug Arduino with Proteus « Think Create | Deqing Sun
Google glass talks to Arduino and Raspberry Pi
Browse by tags
Categories
My gadgets
Uncategorized
Meta
Log in
Valid XHTML
Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!
Blogroll
A few highly recommended websites...
IndarKness
My flickr
Archives
August 2017
July 2017
November 2016
November 2014
February 2014
December 2013
November 2013
October 2013
July 2013
January 2013
October 2012
May 2012
www.thinkcreate.org/index.php/debug-arduino-with-proteus/ 7/7