Hi everybody,

I'm having trouble using the Deluge network reprogramming function in TinyOS 2 
on the Tmote Sky (TelosB) platform. I was wondering if people could give any 
advice or perhaps suggest an alternative implementation of network 
reprogramming to consider with TinyOS 2.

I am using the latest version of TinyOS 2 from the CVS. I have followed the 
instructions, briefly as follows:

1. Built the tools. Could not find a tool to format the flash on the nodes, so 
didn't do that. (I assume it is automatic now.)

2. Built the Basestation in the apps/tests/deluge/Basestation directory:

CFLAGS=-DDELUGE_BASESTATION make telosb install,50 bsl,/dev/ttyUSB0

3. Used tos-deluge tool to install the application again into the Flash chip. 
Slot 0.

tos-deluge serial@/dev/ttyUSB0:115200 -i 0  build/telosb/tos_image.xml


4. Built and flashed the GoldenImage as in steps 2 and 3, for every remaining 
node in the network with unique addresses.

5. Modified the Blink application by adding the component DelugeC in the app 
file, adding the flash volumes XML file to the directory and adding the 
BOOTLOADER = tosboot to the Makefile. (I assume I don't need to wire it up in 
TinyOS 2.)

6. Used tos-deluge to install the application to the Basestation slot 1.

7. Issued the command to disseminate.

RESULT: Some (not all) nodes begin flashing the green lights. Of those nodes, 
about half stop on a blue light and the rest freeze on a green light.

8. Issued the command to reboot those nodes to image 1.

RESULT: The nodes with lit blue lights reboot, flash themselves and start the 
Blink application. The green nodes do nothing. The other nodes do nothing.


My observation at the moment is that the Deluge protocol is only working with 
some nodes. Of those nodes only a few actually reprogram themselves.

Thoughts so far:

* Do the nodes need to be formatted, as seen in the TinyOS 1 instructions?

* All the nodes are powered from USB connections, but some of them seem to 
flash the RED led when the reset gesture is given. Is USB enough voltage?

* What care do I need to take in the above steps? Is there a minimum delay 
between issuing the disseminate and program commands?

* What is the delay for the whole network to be reprogrammed typically. Is 
there a built in method to obtain positive confirmation at the Basestation?

* Is Deluge known to be stable, and if not, does an alternative protocol exist 
that works?


Any help would be appreciated. I am about to roll out a network of over 30 
nodes and I really don't want to have to wander around reprogramming all day...

                                          
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to