Installing TinyOS
-
On windows XP machine.
- Download latest cygwin.
Make sure you select gcc for C and Java, perl, rpm, make; otherwise you
can not compile nesc programs. Refer to Step 2 here.
- Install JDK
- Install appropriate version of nesc compiler; you can download them from here and search for "TI MSP430 Tools". Put the downloaded files into one folder and run "rpm -ivh --ignoreos *.rpm".
- Follow Step 4, 5 from here.
If everything is set well, you could try compiling an application. Go
to "cd /opt/tinyos-2.x/app/Blink" and run "make telosb". If there is
any error, you may have some environment variable set incorrectly. Read
carefully about Environment Variable from here.
- Install the device driver for telosb mote. Download and install the FTDI
VirtualCom driver
(needed for TelosB motes). The installation exectuable will work for
Windows. Download and run it. It will prompt you when it is done.
- Upload your program onto the telosb mote attached to the USB
port of your machine by make telosb reinstall. Now you will see the
mote blink its LED periodically.
The instructions are similar
to that of the windows machine. But you do NOT need to install cygwin
and do need to choose correct rpm for the Linux version.
-
Using VMWare
Fortunatelly, there exists XubunTOS that is installed with all TinyOS
features. You could download VMware and install the image. Please refer
to this document.
Resourses
- Install Tinyos on windows machine from wustl
- Standard installing instruction from tinyos.net
- Tutorial 1 of TinyOS
-
Installing XubunTOS on VMWare for Fedora 6 and 7
Last updated 28 Jan 2009