Hi David, I never did try a software reboot, but I remembered a discussion some time ago. Maybe you could try these two other approaches:
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-March/023512.html http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-November/021118.html The first approach does some magic with the watchdog timer (which I don't understand), the second approach just sets the watchdog timer to a very short timeout and then runs a tight loop. You could probably even try to execute code afterwards, and if it still executes, then the reboot has failed. In this case you could try again. I would be interested in which of the approaches, if any, works. Cheers, Urs David Henry schrieb: > My platform is tmoteinvent (msp430). > I have a problem where rebooting from certain applications to another does > not always work. > However clicking the reset button brings up the new application i.e. reboot > information was written to internal flash. > I know that I enter the resetMote() function by adding code to light up all > the leds. Reboot is finally achieved by writing an illegal value (0) to the > watchdog control register. It seems to this action that doesn't always work. > Any ideas why? > > David Henry _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
