[Tinyos-help] any command for resetting TMOTE SKY
Steve McKown
rsmckown at yahoo.com
Tue Mar 27 08:43:25 PDT 2007
Hi,
On Wednesday 21 March 2007 23:19, siva prasad wrote:
> I am facing a problem abt the code tht i hav built, it was sending the data
> only for a short interval of time...suppose if i hav pressed reset button
> on the tmote sky module..it is sending the data again for some interval of
> time and then stops again..i hav tried hard to figure out this
> problem..asked abt this problem in our mailing list ..but did nt received
> any reply...
If you can create the smallest version of your code that exhibits this problem
and post it to the list, perhaps we can help. Obviously, you'll want to fix
the problem rather than implement a periodic reset.
> now i am thinking to press reset for every time it is stop
> sending the
> data..any command to do RESET the tmote sky module..????
Here's how you can initiate a power up clear (PUC) reset for an msp430 based
mote like the TMote Sky:
void puc()
{
WDTCTL = ~WDTPW;
}
You can read more about this in the Msp430 User's Guide, available from
www.ti.com/msp430.
More information about the Tinyos-help
mailing list