Page 1 of 1

simulate avr firmware on PC?

Posted: Sun Jul 01, 2007 1:24 pm
by iphi
Is there a way to simulate the firmware on a PC with source code view? I'd like to step through the code to learn how it's working.

I can load the .bin file in AVR studio, but the source code info is gone.

Thanks for your help.

I want to know,thank you for you help!

Posted: Fri Jul 06, 2007 3:38 am
by renxupeng
:D :)

Posted: Sun Jul 08, 2007 10:40 am
by iphi
Found it!
It's a matter of compiler options.
dwarf2 compiler option is needed for debug code generation for AVR Studio.

AVR Studio build 528 and winavr work together very nicely.
Best free toolset I've seen.