AVR323 port – WinAVR

If one is using STK300 – that supports this processor – How does one go about debugging the program – short of burning it in flash everytime. Is there a way to simulate it using some tools without buying some expensive commercial tools?

AVR323 port – WinAVR

AVRStudio has a very good simulator and is free.  It will simulate the internal peripherals, but I’m not sure about external interrupts.  I think there is a way of doing it but I have never tried. There are also some low cost AVR tools around.  Checkout the AVRFeaks.net WEB site.

AVR323 port – WinAVR

Thanks. AVR studio supports only ASM files? Is there a component that will let me add C files. I would like to debug an application running on FreeRTOs Thanks again

AVR323 port – WinAVR

Although AVRStudio will not compile C file, it will quite happily allow you to debug them. Compile you source (from the command line) to include debug information (gcc -g option), then simply open the resultant elf file within AVRStudio.  It will automatically create a project that includes all the C files, and allow you to debug at the C level. Regards.