On Jul 7, 2006, at 4:17 AM, Otmar Caduff wrote:
Hi
In order to access the flash EEPROM (Atmel 45DB), I'm thinking
about using the BlockStorage abstraction. However, there are no
comments in the code telling how to use this component. (Maybe it's
so trivial and I'm not capable enough...) So here come my questions:
- What does BlockWrite.erase() effects? Will it erase the actual
partition? Or some buffer? Or the whole EEPROM?
- What if I want to write to a position in the EEPROM I already
wrote to before? Is this handled by the BlockStorage abstraction or
is this not possible (i.e. I would have to erase something...)
TEP103 in tinyos-1.x/beta/teps mentions a logger service; is it
already implemented or if not, will it be implemented in the next
future?
_______________________________________________
The TEP refers to TinyOS 2.0. The TEPs in tinyos-1.x are rather out
of date (and I should probably remove them). TinyOS 2.0 has a full
storage stack for both the at45db and the stm25p. TEP 103 documents
the abstractions:
http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/
html/tep103.html?pathrev=tinyos-2_0_devel-BRANCH
The 2.x code is not backwards compatible with 1.x, unfortunately, as
it assumes underlying resource arbitration mechanisms. The 2.0 beta2
release should be going out today (we're waiting on a few last edits
on some documentation), so you can take a look there.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help