[Tinyos-devel] strange behaviour in turning the radio on and off on MicaZ in tinyos-2.x

Philip Levis pal at cs.stanford.edu
Wed Jun 28 19:48:19 PDT 2006


On Jun 28, 2006, at 6:15 PM, Razvan Musaloiu-E. wrote:

> Hi!
>
> I noticed a strange behavior when the radio is turned on and off on a
> MicaZ. The observable thing is that the mote resets itself on the  
> second
> attempt to turn the radio on. I attached a program that  
> demonstrates this.
> The program has a component (MyLocalTime) that blinks the red led very
> fast and another one (RadioControl) that turns the radio on and  
> off. When
> the radio is turned on for the second time the red led freezes for  
> a few
> moments and the green one is quickly turned off and then back to on  
> (which
> means the counter maintained by the blinking component was reset to  
> 0).
>
> There are two implementation of the RadioControlP: one that turns the
> radio on and off (_off) and one that doesn't (_nooff). The ./off and
> ./nooff will make the proper symlink.
>
> Could someone test this? :-)
>
> Notes: on TelosB the program runs correctly. I'm using the latest  
> CVS of
> tinyos-2.x.
>
> Thank you!
> Razvan ME

This is interesting. The net2 group has recently been testing its  
collection code and has seen similar behavior, even though the radio  
is not powered on and off. Telos nodes behave fine, but micaz nodes  
seem to periodically reboot. I've forwarded your message along to  
Jonathan Hui (the author of the CC2420 stack) and will take a look.

Phil


More information about the Tinyos-devel mailing list