[Tinyos Core WG] T2 Mica* Timers

David Gay dgay42 at gmail.com
Mon Feb 5 09:00:52 PST 2007


On 2/2/07, David Moss <dmm at rincon.com> wrote:
> We're seeing lots of issues with the reliability of AVR
> timers.  Has anybody else been working on testing timers
> on mica* mote types?  They just don't seem to work as
> reliably as they did in TinyOS 1.x.

I've had a lot of problems with them. The root of the difference
between the 1.x and 2.x code is that the 1.x code never lets the h/w
timer wrap around (always resets it it 0, and sets a deadline before
something like 220).

In 2.x, the timer is in free running mode and very weird stuff seems
to happen to deadlines around 0, 0xff, etc. I thought I had a working
solution, but I've thought that before.

You don't happen to have a reproducable misbehaving case do you ? ;-)

David


More information about the Tinyos-2.0wg mailing list