[Tinyos] flash code problem on Tmote (STM25P)
Shan Lin
shanlin at cs.virginia.edu
Sat Jun 14 19:19:46 PDT 2008
Hi,
I have been programming flash operations using TinyOS 1.x on Tmote
(STM25P). I tried to use modules under directory
tinyos-1.x/beta/STM25P/STM25P, such as ConfigStorageC. I have the
following questions, I appreciate it very much if you could help me
with them.
1. What flash module should I use? ConfigStorage or LogStorage? What I
need to do is to log received messages into a fixed size message pool.
2. I wonder if there is some example code on how to use these flash
modules. I could find such examples.
3. I have been having problems with ConfigStorageM. For example, after
I called ConfigWrite.endWrite(), its internal state became
S_COPY_WRITE, and then ConfigRead cannot be used any more.
Thanks.
Shan Lin
More information about the Tinyos
mailing list