Hi Janos, Thanks for making the wonderful tool available. I understand the paradigm of using avarice with avr-gdb well, but as Audrey has pointed out, the process is clumsy. Therefore, I have been trying to use AVR Studio, but in vain. For example, whe you said "open the main.elf", I literally open the file but it appears in an editor. How do I actually tell AVR Studio to debug main.elf?
Hope to hear from you. Best regards, Yee Wei 2008/9/11 Janos Sallai <[email protected]> > For those discontented with gdb and in desperate need of visual > source-level debugging support for TinyOS: I have added support for > debugging iris applications using AVR Studio. > > > > To use it, first download and install AVR Studio ( > http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2725 ). > > > > Then, check out the CVS head, or drop the file avr-studio-debug.extra ( > http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/support/make/avr/avr-studio-debug.extra) > into support/make/avr/ in the TinyOS 2.1 release tree. > > > > To compile an ELF image that can be loaded with AVR Studio, type > > > > make iris avr-studio-debug > > > > Finally, launch AVR Studio, open the main.elf file under build/iris/. > Choose your debug platform (simulator or JTAG emulator) and your device > (ATMega1281 for iris) then click Finish. If everything goes well, AVR Studio > will open the source code of RealMainP.nc and position the cursor at the > entry point of the program and you are ready to visually debug. > > > > Beside the iris mote, this should work with mica2/micaz as well. Just > substitute iris above with your favorite AVR-based mote platform. > > > > Janos > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
