Warning: Table './lockneyn_dorkbotpdx/cache_page' is marked as crashed and should be repaired query: SELECT data, created, headers, expire FROM cache_page WHERE cid = 'http://www.dorkbotpdx.org/blog/doctek/using_avr_studio_for_gcc_assembler_programs' in /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc on line 172

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 488

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 489

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 490

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 491
Using AVR Studio for gcc/assembler programs | DorkbotPDX

Using AVR Studio for gcc/assembler programs

I've just posted a tutorial on this subject at AVR Freaks / Forums / Tutorials. This was a fall-out from the TV Circles / Codosome stuff that Ward and I did.

If you haven't used AVR Studio for gcc program debug, it's worth a look. You can save a lot of debug time and avoid a lot of frustration using the simulator. AVR Studio uses the WinAVR/gcc tool chain for C projects. Very nice!

- jim larson (aka Doctek)


Comments

link

Any chance you could provide a direct link to the tutorial?


Link

Great article!

I love the "hack" of calling back into your C module to let you set breakpoints. Reminds me of simliar tricks to do conditional breakpoints in environments that didn't support them. Just write out the condition and set the breakpoint when it's true!

Did you ever try using the BREAK opcode to trigger the breakpoint directly from the ASM source?


I have always loved avrstudio for its code/emulator/target path

And despised them for making it windows dependent.