Hi, i am using LogStorageC implementation for logging in to the flash, i have
encounter 2 problem.
First happens when i write between 3969 and 4095 log in the flash, my logging
it's almost the size of a block of the flash ~252 byte (MAX_RECORD_SIZE = 254)
, so i can log without lose data a maximum of 4096 log. So when i write less
than 3969 or 4096 log, then read the logs, and then write and read any numbers
of log between this numbers, when retrieving the data it's all right. But when
i write logs betwen 3969 and 4095, and then read the logs, the first wave of
reading its all rigth, but the second start in the end of the flash, ie if i
write 4000 log, then read the 4000 logs, its ok, then write 4000 log and read
4000, the first one it the log write at the start of the flash, for this case
the data in the first one of the read will be the log 4097.
The second problem its about interruptions delayed when i write a log in the
flash, i remember reading about a non preemptive flash implementation but i
can't find it.
_________________________________________________________________
¿Quieres saber que dice el futuro sobre ti? Ingresa a MSN Astrología
http://astrologia.latam.msn.com/msnlatam/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help