Good to hear that you had found a solution. I think besides logging such that you also could use the LED on the platform. On Nov 2, 2013 3:25 PM, "Xiaohui Liu" <[email protected]> wrote:
> Hi, > > By log I mean a serial message sent from a mote to a PC. I'm using telosb > and T2.1.1. Log fails because of a bug in my code. > > Sent from my iPhone > > On Nov 1, 2013, at 6:15 PM, Eric Decker <[email protected]> wrote: > > > > > On Fri, Nov 1, 2013 at 2:00 PM, Xiaohui Liu <[email protected]> wrote: > >> Hi Micha, >> >> How do you know if the timer fails to fire? >> >> I experienced the same problem before. Whenever the timer fires, a log is >> sent to the UART. If no log is received when a timer is supposed to fire, >> the timer is regarded to fail to fire. This turns out wrong because no log >> can be also caused by UART failure, which is the case. >> > > what is a "log"? > > What platform are you talking about and what version of the software? > > >> >> -Xiaohui >> >> >> >> On Friday, August 9, 2013, Ádám Erdélyi wrote: >> >>> Hi Micha, >>> >>> could you show us the wiring code for the timer, how you initialize the >>> timers and how you handle the firing event? Does it fire when started by >>> other functions? (e.g. a simple Timer.start) Did you use the unique() >>> function at the beginning? >>> >>> Cheers, >>> Adam >>> On Aug 8, 2013 3:02 PM, "Micha Rappaport" <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> I am using multiple instances of the TimerMilliC component on a telosB >>>> mote. When I use the timer.startOneShot() command, the timer does not >>>> always fire. I checked the timer.isRunning() command which returns TRUE! >>>> >>>> Next I checked the times now, t0 and dt which look all promising: >>>> This works: >>>> now: 13530, t0: 13529, dt: 2500 >>>> This does not: >>>> now: 21513, to: 21512, dt: 2500 >>>> >>>> Any ideas where else the problem could lie? >>>> >>>> Thanks, >>>> Micha >>>> _______________________________________________ >>>> Tinyos-help mailing list >>>> [email protected] >>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>> >>> >> >> -- >> -Xiaohui Liu >> TelosB >> TinyOS 2.1.2 >> www.cs.wayne.edu/xliu/ >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
