Hi, > What is the worst that can happen if a node tries to reprogram itself > when the voltage is too low? Will it 'brick' the node or is it just a > case of having to walk upto a node and putting the GoldenImage back > on it again using a USB connection? (I can live with that.) From my experience (I cannot give you any guarantees) the worst that can happen is that the programming fails (maybe in some wired way). Lets look at how it could brick the mote. When programming the mote over USB, the interaction with the microcontroller is done in a special mode. So trying to reprogram the mote would have to result either in destroying hardware (extremely unlikely) or in overwriting the microcode used for the programming itself. I think (not sure) that this code cannot be modified (you could read the bsl documentation for the msp430 to verify this). Even if it could be modified, it would certainly be in a protected memory area, and normal reprogramming could not alter it. So you should always be able to reprogram a mote over USB. The only motes I ever had that I could not reprogram anymore had corroded contacts between the USB/Serial chip and the microcontroller...
> (I also notice a bug: it does not seem to be possible to inject a new > image onto the Basestation without pressing reset first.) If you need to automate things, maybe you could use the reset functionality of the bsl program instead of having to manually press the reset button. Cheers, Urs _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
