Hello everyone,
I am trying to use the hardware jtag-ice mkII debugger on an Iris
mote. I have enabled the jtag debugging by setting hfuse=0x19 on the
mote and have compiled Blink with debugging flags ( -O0 -g -ggdb). I
can download the compiled binary to the debugger and set up
breakpoints. My first breakpoint is on BlinkC$Boot$booted which is
successfully hit. However, after that when I continue I keep getting
the following message from gdb
(gdb) c
Continuing.
Target went to sleep
Program received signal SIGINT, Interrupt.
McuSleepC$McuSleep$sleep ()
at /opt/tinyos-2.x/tos/chips/atm1281/McuSleepC.nc:136
136 cli();
Line 136 of tos/chips/atm1281/McuSleepC.nc is in fact a sleep instruction
asm volatile ("sleep");
If I comment out this line, none of my breakpoints after
BlinkC$Boot$booted are hit and I get no response from the debugger. I
was wondering if anyone has used the jtag debugger for tinyos-2.x and
can comment if there is a workaround for issue? I would really
appreciate any help or pointers.
Regards
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help