Hi!
On Mon, 28 Sep 2009, Mac Brown wrote:
> Hi,
>
> I am using TinyOS1.x on mica2 motes. I would like to measure the energy
> consumed by my TinyOS application which uses external serial flash on
> mica2 motes. I turned to Avrora and was able to get energy values for
> CPU, Leds and Radio. However, the energy values for external flash is
> way off the mark. I tried to modify the energy instrumentation in
> sim/platform/ExternalFlash.java. It turns out the implementation of the
> device emulation is buggy. In particular, the amount of time the device
> should keep its status as busy is not correctly implemented and hence,
> energy values are incorrect. I tried the Avrora mailing list for the
> last two weeks but haven't received any response from the developers.
> I would like to fix the bug in Avrora but I don't have much experience
> developing device driver code.
>
> So, here are some basic questions. I need to know how TinyOS drives the
> device when it writes into the External Flash. What Tinyos files should
> I look at? Is there a manual to operating (reading/writing) into Serial
> flash used in mica2 motes? Any pointers will be appreciated!
>
I think the datasheet for the flash chip used in mica2 is this one:
http://www.atmel.com/dyn/resources/prod_documents/doc3595.pdf
--
Razvan ME
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help