I am using stk500 , atmega16 micro and avr-gcc toolchain. Now I have to debug the program. (Mine program is compiling/loading properly). Now I want to know how can I debug my program? Any new hardware required?
From my side, I installed simulavr and avr-gdb and started debugging my .elf file commands are..
#simulavr --L It results in list of supported micros
but atmega16 is absent in the list.
(gdb) file filename.elf Mine *.elf file opened
(gdb) target ...... What it should be I tried all the
combinations using insight also.
In user guide came with stk500
115200 baud RS232 port (COM port)
specified even I tried this one
Thanks in advance!!