On May 31, 2007, at 11:31 AM, Vipin Kashyap wrote:
Hi all!
Further to my last post, I have been told that the reason for the
MicroTimer code not working is that TOSSIM can not simulate hardware
interrupts, the behaviour being non deterministic. However, the TOSSIM
documentation (TOSSIM: A Simulator for TinyOS Networks) by Philip
Levis
and Nelson Lee says " Fidelity: By default, TOSSIM captures TinyOS’
behavior at a very low level. It simulates the network at the bit
level,
simulates each individual ADC capture, and every interrupt in the
system."
So, which is the correct
interpretation?
For 1.x, the text in the TOSSIM paper is correct.
I think the issue is that you're using an interrupt which TOSSIM
doesn't support. The text "every interrupt in the system" meant
"every interrupt the TinyOS code uses when we wrote this paper." This
generally meant the code in system/ and lib/, not necessarily every
application that did special things.
You need to write a TOSSIM implementation of MicroTimerM.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help