The nature of the flash chip means that overlapping writes may result in what you expect. Write operations on the STM25P can only flip bits from 1 to 0. If you want to flip them back to 1, you need to perform an erase. Keep in mind that erase operates on 64KB sectors.
-- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On 3/6/06, Chang Li <[EMAIL PROTECTED]> wrote: > I have similar experience. After I were trying to write in 4K+1, 4K, 4K+3, > I got it right. I am not sure which sequence is right. The overlap may cause > flash writing error. > > > > Hi, > > > > I am using TinyOS-2.0 and trying to write into flash memory using Block > > write. When I write first block of data it is OK but when I write > > subsequent blocks data are garbled! > > > > Could anybody help me solve the proble? Thanking you, > > > > > > Abdul Alim > > > > UNBC, BC, CA > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
