Difference between revisions of "Tips on Using Imote2"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
Line 1: Line 1:
 
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos#Install_Imote2_in_tinyos-1.x Washington State University] has a great wiki with instructions on how to configure your platform to support the Imote2.
 
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos#Install_Imote2_in_tinyos-1.x Washington State University] has a great wiki with instructions on how to configure your platform to support the Imote2.
 
* The Imote2 uses the FTDI USB chip whose drivers may be downloaded [http://www.ftdichip.com/Drivers/VCP.htm here].
 
* The Imote2 uses the FTDI USB chip whose drivers may be downloaded [http://www.ftdichip.com/Drivers/VCP.htm here].
* Use USBLoaderHost.exe to program an image onto the Imote2.  This program is located in $TOSROOT/contrib/imote2/tools/bin/.
+
* Use USBLoaderHost.exe to program an image onto the Imote2.   
 +
** This program is located in $TOSROOT/contrib/imote2/tools/bin/.
 +
** To install a program:  <tt>USBLoaderHost -p main.bin.out</tt>
 
* [[Toggling an External Pin on the Imote2]]
 
* [[Toggling an External Pin on the Imote2]]
 
* When sending over UART, make sure the debug board is connected.
 
* When sending over UART, make sure the debug board is connected.

Revision as of 20:06, 22 September 2008

  • Washington State University has a great wiki with instructions on how to configure your platform to support the Imote2.
  • The Imote2 uses the FTDI USB chip whose drivers may be downloaded here.
  • Use USBLoaderHost.exe to program an image onto the Imote2.
    • This program is located in $TOSROOT/contrib/imote2/tools/bin/.
    • To install a program: USBLoaderHost -p main.bin.out
  • Toggling an External Pin on the Imote2
  • When sending over UART, make sure the debug board is connected.
  • In TinyOS, TOS_LOCAL_ADDRESS is the last 2 digits of the mote id in hex
  • Even though the default maximum message size is 29 bytes, the Imote2 will only send a message if it has an even length. The call to GenericComm.sendMsg will actually return FAIL if you try to send a 29 byte long packet.
  • Size of local variable array is very small. If you want to use a large array, you need to declare it globally. E.g. realA, PS, W arrays.