Thanks for your reply. I just found the solution. I am using the TinyOS tool chain. I debugged the .elf (compiled using the flag avr-studio-debug ) file using AVR Sudio I found that AVR Studio make a local copy of all the files referenced in the .elf file and hence setting breakpoints is as simple as setting breakpoints in any source file written in AVR studio.
I however ran into another problem when i tried to compile the radio stack. I get a whole bunch of errors like the /tmp/cc1naXOP.s:60633: Error: value of 76978 too large for field of 2 bytes at 13884 /tmp/cc1naXOP.s:60647: Error: value of 76992 too large for field of 2 bytes at 13908 /tmp/cc1naXOP.s:60654: Error: value of 77092 too large for field of 2 bytes at 13920 /tmp/cc1naXOP.s:60661: Error: value of 77318 too large for field of 2 bytes at 13932 On Wed, Feb 12, 2014 at 9:19 PM, Eric Decker <[email protected]> wrote: > It would be helpful if you specified what toolchain you are using > > and in particular what debugger. > > > > > On Wed, Feb 12, 2014 at 1:30 PM, Roadstar Runner > <[email protected]>wrote: > >> I am trying to debug a simple TinyOS Blink program on the IRIS motes >> using avr studio (JTAGICE MKII). >> I was able to load the elf file, pause (break all) execution and then >> step through the code. However, the only function accessible is >> McuSleep.sleep(). How do i set explicit breakpoints in other modules? >> >> Thanks >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
