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
Here's the link:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=84753
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.