This section describe how to program the software onto the Crickets using a already compiled version of the software.
You need a programming board (also called a ``programmer'') to program Cricket units with the TinyOS-based software image. Cricket can be programmed using the same programmers as Mica2 motes. We use the MIB510CA model.
The embedded image is available from http://cricket.csail.mit.edu as a firmware only package (two compressed packages are available .zip and .tar.gz for your convenience and both containt the same binaries).
The pacakge containt the following files:
Under Windows you need cygwin to be installed on your system. cygwin is available from http://www.cygwin.com/.
To install uncompress the package in a directory and execute the following command from that directory after connection the programmer and placing the Cricket on the programmer:
./uisp -dprog=mib510 -dserial=/dev/ttyS0 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=main.srec
Where the -dserial parameter represent your COM port (e.g /dev/ttyS0 is COM1).
Note: The Cricket should be connected using a straight cable and not a null modem cable.