[Tinyos-help] Rebooting of mote
David Valencia
davivale at nmsu.edu
Tue Jul 1 10:34:23 PDT 2008
> Rebooting is a common symptom of a memory corruption error. If you
> overwrite the return address in the stack to address 0, this causes
> many microcontrollers to jump to the reset vector (0x0) on return.
>
> Because there is so little RAM, you can do this to the stack even when
> writing to component and global variables. E.g., there was a bug in
> the atm128 SPI stack (fixed) where an SPI read of 0 bytes would cause
> it to read 65535 bytes. This caused the read to overwrite the entire
> mote memory, set the return address to 0 on the stack, and reboot.
>
> Phil
Phil,
Every now and then when I would re-program my motes using Deluge, there
would occasionally be one instance where every node got the new image and
rebooted except one mote. The one mote would just consistently reboot
itself. Does the above explanation fit what was happening in my case?
David
--
Development environment: CYGWIN
Platform: TelosB (tinyos-2.x: cvs disribution)
More information about the Tinyos-help
mailing list