Hi,

I am using TinyOS 2.1 from the CVS. I have a problem with the Deluge 
reprogramming system.

I have Deluge working OK, with a basestation and a number of nodes. The code 
correctly disseminates around the network, and appears to flash to the nodes as 
indicated by the fast flashing Leds.

However, once this process is complete, the Leds fade down and then the node 
needs to be reset before it will run the program. If I reset the node manually, 
it will however successfully load the program...

At first I wondered if this was a result of the reboot mechanism built into 
Deluge that sets up the watchdog timer of the MSP430 in order to force a reset. 
But when I tested this mechanism in my own code (which uses the same Deluge 
boot program, but obviously no change to the program at the reboot), the reset 
is successful.

Is anybody aware of a reason for this?

Do I need to consider an alternative reboot mechanism in the netprog_reboot() 
function? Or is this function not being called at all? (i.e. the reprogramming 
is occurring outside of the bootloader and no reboot even occurred to begin 
with.)

Or is this a problem with the bootloader itself, in that it reprograms OK but 
is then unable to load the new program?


Any help would be appreciated, otherwise I face another 10 hours of walking 
around manually resetting nodes...


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

Reply via email to