After a little testing, it looks like the radio stack is still alive. I modified BlinkToRadio to maintain two timers (1ms and 1s period), both of which attemps to send a message on each fire event. After a few moments, the 1ms timer will fail to fire, but the 1s timer will continue firing and sending messages. Even more interesting is that the 1ms timer starts firing at the same period as the 1s timer.
It's probably the case that the radio stack is somehow affecting the operation of the msp430 timer stack and causing it to fail in repeatedly firing the 1ms timer. Haven't dug too much into the timer code to understand why this is. I've attached the modified app I used to test. Cory, do you have an ideas? -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On 7/23/06, Joe Polastre <[EMAIL PROTECTED]> wrote:
Could be a bug in the radio stack. Note that only one of two motes stops... -Joe On 7/23/06, Philip Levis <[EMAIL PROTECTED]> wrote: > On Jul 22, 2006, at 6:31 AM, [EMAIL PROTECTED] wrote: > > > Hi, > > > > I've implemented BlinkToRadio application on telosb with tinyos 2.0. > > Two telosb motes send packets to each other using BlinkToRadio > > application. > > Packets are sent in event Timer.fired() in BlinkToRadio application. > > I found something wrong in telosb operation. > > If TIMER_PERIOD_MILLI(packet generation interval)is set to 1(ms), > > event > > Timer.fired() of one of two motes is not signalled anymore after > > several > > seconds. As a result, only one mote can send packets. > > If TIMER_PERIOD_MILLI is set to 2(ms), this situation seldom occures. > > Have you ever seen this situation? > > This sounds like a bug in the MSP430 timer stack. Cory, have you > encountered this? > > Phil > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
BlinkToRadio_2timers.tar.gz
Description: GNU Zip compressed data
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
