[Tinyos-help] Working with flash Telosb

migueltsilva migueltsilva at netcabo.pt
Tue Jan 2 03:42:22 PST 2007


Hi, I'am doing a program that involve all the flash, reading the values of sensors and other things. Because the flash have only 1MB storage, I have to do some average of the readings, and then write again the values. 
I split the flash in 8 blocks , so I must have 8 components of BlockStorageC only if I want to erase them? 

I ask this because I create :
<volume name="FLASH1" 	size="131072" />

new BlockStorageC(VOLUME_FLASH1) as FLASH1;

And then I try to write in next block 131072 to 262144 and I can write and read with no errors.
So the division of Flash in several Components is only to erase works?

Miguel Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070102/4670f968/attachment.htm


More information about the Tinyos-help mailing list