[Tinyos-help] Debugging nesC code with the USB AVR JTAG ICE

Aurélien Francillon aurelien.francillon at inrialpes.fr
Tue Dec 26 04:38:18 PST 2006


Le jeudi 21 décembre 2006 22:00, Jon Wyant a écrit :
> Hi.  Has anyone used the USB AVR JTAG ICE mk-II device for debugging TinyOS
> 2.x code?

I don't remember to try with Tinyos 2 but there should not be any notable 
difference in the Jtag setup itself ...
basically you need avarice cvs version with proper environment plus a few 
tricks to have it working properly.
If you plug the mkII on usb you need to export (it's not documented ...) :
export AVARICE_ARGS='--mkII --jtag usb'

you can find my notes here, including workarounds for some common problems:
http://www.inrialpes.fr/planete/people/francill/stuff/AvrJtagIce.pdf
tell me if it helps of if you still have problems ...

Cheers,
Aurélien



More information about the Tinyos-help mailing list