On Jan 17, 2007, at 8:00 AM, Supasate Choochaisri wrote:

Hi all,

I would like to know how to simulate writing data to persistent storage by TOSSIM in T2.

I tried to compile BlinkConfig tutorial by "make micaz sim", but it didn't work. (compiling with "make micaz" was OK)

Thanks in advance,


Currently, TOSSIM in T2 does not support non-volatile storage. There's generally two ways to do it: 1) write a simulated version of the HIL, or 2) write a simulated version of the HPL. For example, TOSSIM simulates the radio at the HIL level, but for the micaz simulates timers at the HPL level. Usually the tradeoff is that 1) is easier but 2) is more accurate and powerful. E.g., you can't switch frequencies on your radio in TOSSIM, but you can write wholly new timer stacks for the atmega128 (and debug the timer stack).

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