I'm on a project using the WSN and having some problems in data management in the Flash.
Right now we are using tmote with TinyOS 1.x and the commands I used are Blockwrite, Blockread, etc. The problem is, after a power cycle, I want to find the end of my logged data so that I use Blockread.read to read certain length of the flash and compare 3 words of the data read to see whether they are oxFFFF. If so, then I suppose that's the starting point of the new data logging. Howerer, this strategy was not stable that sometimes I could find the correct position for data appending while other times the position I found is prior to the real stopping point before power down. Can you give me any suggestions? Also, I'm considering to use Logdata, but the same problem I'm facing is how could I find the end of the logged data after a reboot so that I won't ruin the prior ones? Thank you!
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
