Hi.  Has anyone used the USB AVR JTAG ICE mk-II device for debugging TinyOS
2.x code?
 
I found the link for using the serial device on TinyOS 1.x code (
<http://www.tinyos.net/tinyos-1.x/doc/nesc/debugging.html>
http://www.tinyos.net/tinyos-1.x/doc/nesc/debugging.html), so I attempted to
see if those directions would be similar enough to work. 
 
I keep getting a "Failed to open /dev/avrjtag: No such file or directory"
error when running ice-gdb. The "-j" switch doesn't seem to affect this in
anyway. I have tried various options just to see if the error message would
change, and it doesn't. I have installed AVR Studio and WinAVR. I know the
device is working because I can read and program the fuses from AVR Studio
just fine. I tried the ice-gdb file in the WinAVR\bin folder instead of the
one that came with the Cygwin install, but still get the same error.
 
Also, I have been trying to compile a target file with extended coff
debugging, that I could then open in AVR Studio, but have been un-able to
get that part to work either. I have tried adding the "avr-objcopy
--debugging -O coff-ext-avr ...." option to the "avr.rules" file, but I
always get an "avr-objcopy: build/micaz/main.coff: Invalid bfd target"
error. I tried the version of the avr-objcopy file from WinAVR tools (which
has the coff-avr-patch), and I get the same error.
 
Any thoughts or suggestions would be greatly appreciated!
 
Thanks.
 
Jon
 
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to