[Tinyos-help] GDB - Debugging Mica2Dot/Mica2
Edgar Charry
echarry at hotmail.com
Mon May 5 03:19:52 PDT 2008
Hi all, I am trying to debug my nesC codes using GDB (for TinyOS1.x using Mica2Dot and Mica2). Bunch of naive questions, so I think you know this for sure: 1) avr-gdb and gdb are used for .exe (srec?) symbols reading. For the Mica2Dot ATMega128L do I necessarily need to use the 1st one? Or the latter one can also be used? What would be their difference by the way? 2) Why can I read these symbols only by compiling with the debug command (make mica2dot install debug mib520,com3)? 3) For on-chip debugging i need necessarily the JTAG interface to be connected with the MIB520 programming board. Avarice will carry out the interconnection of the JTAG-ICE interface (which is connected to the programming board+Mica2/Mica2Dot of course) and the avr-gdb through the serial port. So that means is 100% certain that I can do step-by-step on-chip debugging using avr-gdb (or even using the WinAvr Insight graphical GUI). Can I also see the assembly code and the correspondant nesC code side-by-side on that Insight GUI? Has anyone have this sort of experience? Is Avarice also compatible with JTAG-ISP or just with the JTAG-ICE?
Didn't really want to waste my money.... Thanks guys,Edgar Charry
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080505/13129963/attachment-0001.htm
More information about the Tinyos-help
mailing list