I’ve put together directions for how to get up and running with AVR studio to simulate and debug TinyOS applications.  The AVR studio provides a cycle accurate simulator for the AVR processors as well as a JTAG interface for on-chip devices.  With a mote that has an atmel323 processor, you can debug code right on the mote.  It allows you to set breakpoints and to look into and modify the memory of the device.  The studio does get confused by the extensive use of in-lined code and macros however it does work. 

 

Unfortunately, it only works under windows.

 

The directions are at:

 

http://www.cs.berkeley.edu/~jhill/avr-studio

 

 

Jason

Reply via email to