Cette page appartient aux archives web de l'EPFL et n'est plus tenue à jour.
This page belongs to EPFL's web archive and is no longer updated.


Picotux as Mote Server
At this stage, two devices are being considered for use as Serial Device (in this case, Mote) Servers :
- Kleinhenz Elektronik's Picotux 112 (http://www.picotux.com/ , http://linuxdevices.com/news/NS8386088053.html)
- Digi International's Digi One SP (http://www.digi.com/products/externaldeviceservers/digionesp.jsp)

Whereas the latter provides a complete software solution including virtual serial ports, the former is simply a Linux-like device with the following attributes :
- 55 MHz 32-bit CPU (ARM7DMI)
- RS232 Port
- 10/100 Mbps Ethernet Port (http://www.digi.com/products/embeddedmodules/digiconnectme.jsp) with 4MB Flash Memory
- 8 MB RAM
- Operating system : uClinux 2.4.31pre (http://www.uclinux.org/)

At the time of writing, I'm particularly interested in Picotux since developping software for it will be much more easy than for any Digi device, and suggest the following scheme :

PC <===== RJ45 =====> Picotux <=====RS232=====> Mote

We could probably save lots of programming effort by using leightweight versions of existing Linux software, such as :
- SSH server (http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/dropbear.html or
- ASH Shell (http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/)

Therefore, updating software on the motes could be made by executing the following steps :

0. Code & Cross-compile software on the PC
1. Establish SSH Connection from the PC to Picotux
2. Transfer compiled program on Picotux using SCP
3. Transfer program from Picotux to Mote

However, the following are needed in order to implement such a solution :
- Cross-compiler toolchain for :
- Picotux (target : armeb-unknown-linux-uclibc, or arm-unknown-linux-gnu, etc.) [see below]
- Mote (Provided with tinyOS)
- SSH API for Java (http://sourceforge.net/projects/sshtools/)
- BOOTP Server for mote initialisation (http://www.ietf.org/rfc/rfc951.txt and ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/)

So, let me know what you think :-)
Posted by Aristidis Papaioannou at 14:09
Comments (1)