In this article I’m going to share how to get started on Iris-based WSN motes with TinyOS 2.1.1 and Ubuntu 10.10. Before starting, please make sure you installed TinyOS on Ubuntu 10.10. If you aren’t install yet please read my article [V]. For Telos-based WSN motes, please read this my article [V].
Hardware Configuration
For testing, I used Iris as WSN mote. Look this WSN hardware model


Now connect your Iris on computer via USB, for a sample look at this picture below

Compile and Run
After Iris mote connected on your computer, now we try to check that our mote was listened or not. Try to use this command
motelist
and I got the response like picture below

As you see, motelist didn’t find my Iris mote. I don’t how to fix. Currently I’m still finding to fix this. Please let me know if you have solution.
Although I didn’t find my Iris mote but my Linux can detect USB of Iris mote. You can check using command as below
ls /dev/ttyUSB*
So I think it’s no problem to deploy our app to Iris mote.
For a sample, my Iris runs on /dev/ttyUSB0. For illustration, I used a TinyOS sample app i.e Blink for testing. Now change your current folder on /opt/tinyos-2.1.1/apps/Blink. Try to make Blink app
make iris
Now deploy Blink app to our Iris
make iris install mib510,/dev/ttyUSB0
If success, you’ll get this result as picture below

Now your Iris runs Blink app. For a sample, look at this video (I captured for you)
Clear Program From Iris
To clear your program from Iris, you can try to use avrdude
avrdude -cmib510 -P/dev/ttyUSB0 -pm1281 -e

I hope this article is useful for you. Please rate this article.