in the code that preceeds the simulation loop. Then, start avr-gdb (using the name of your firmware ELF file as the executable), and issue the command "target remote localhost:1234". Presto, you're debugging your firmware. Sweet.avr->gdb_port = 1234;
avr->state = cpu_Stopped;
avr_gdb_init(avr);
No comments:
Post a Comment