??? 01/07/05 13:53 Read: times |
#84526 - will this work for you? Responding to: ???'s previous message |
I have to write many data records with a length of 128 Byte
- so, 4 records may be stored in one page, BUT: 4 different pages must written. For this example I assume that byte 0 of a written record can not be 0xff (any byte of the record can be used). WRITE: ptr = flash start while (*ptr = 0xff) ptr +=128; // a check for end of flash area must be added if (EndOfFlash) take action write at *ptr[] Is your "record" the same, just written when data changes or are you writing a file. Erik |
Topic | Author | Date |
NAND-Flash Management | 01/01/70 00:00 | |
flash write - general | 01/01/70 00:00 | |
flash write | 01/01/70 00:00 | |
will this work for you? | 01/01/70 00:00 | |
good idea to use, but it is not enough | 01/01/70 00:00 | |
flash endurance | 01/01/70 00:00 | |
weare leaving? | 01/01/70 00:00 | |
Wear Leveling![]() | 01/01/70 00:00 | |
I hate flash to peices | 01/01/70 00:00 |