hi
I have written a code where I am trying to use the timer and the Flash
in the same application.
I am using tmote which has flash from ST.
My code is quite simple.
command result_t StdControl.start() {
call CC2420Control.SetRFPower(1);
call MacControl.enableAck();
randomtimer = (call Random.rand() & 0xfff) + 1;
call FormatStorage.init();
post mount();
return SUCCESS;
}
from mountDone I am calling timer
In timer fired event I am trying to write to the flash
But it is not succeeding i.e writeDone event is not getting called. (I
checked it with Leds)
Does anyone have idea why this is happenning and how to get around this
problem?
Does Flash not work with Timers?
Please help I have spent a lot of time figuring out why this is happenning.
regards
hemanth
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help