I am assuming you are using MSP430. Have you tried the latest version from the official TinyOS SVN repository? Do example Deluge apps in tinyos-2.x/apps/tests/deluge (such as the burn script in tinyos-2.x/apps/tests/deluge/Blink) work for you?
Thanks Mike On Oct 20, 2010, at 3:49 PM, Sensors Project wrote: > 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 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
