On Feb 25, 2007, at 7:00 PM, lili wrote:

hello, everyone:
I have encountered a problem when I use tossim of Tinyos2.0. At first, I use interface "Timer" to get time, and wire it to component "TimerMilliC", tossim works ok. Then when I use interface "Alarm" instead to record time and wire it to Alarm32khz32C, this time tossim reports many errors.

I found that TimerMilliC was built on timer0, while Alarm32khz32C was on timer1. In /tos/chips/atm128/timer/sim, it contained only components related timer0. Is this the reason why tossim did not work for the second time?

If so, can anybody provides me some solutions of this problem, or give me a guide to let tossim work for timer1? If it is not exactly the reason of the problem, can somebody explains it for me?

The problem is that only timer0 is fully implemented and supported. This is mostly due to the fact that it uses a slightly different interface than timers 1-3.

Phil
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to