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

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Wed Jun 28 18:15:06 PDT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MicaZ-Radio-bug.tar.gz
Type: application/octet-stream
Size: 1390 bytes
Desc: 
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20060628/c0470227/MicaZ-Radio-bug.tar.obj


More information about the Tinyos-devel mailing list