General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
iphi
- Rank 2
- Posts: 68
- Joined: Mon Jun 25, 2007 11:37 am
Post
by iphi » Sun Jul 01, 2007 1:24 pm
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.
-
renxupeng
Post
by renxupeng » Fri Jul 06, 2007 3:38 am
-
iphi
- Rank 2
- Posts: 68
- Joined: Mon Jun 25, 2007 11:37 am
Post
by iphi » Sun Jul 08, 2007 10:40 am
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.