| ??? 07/27/06 16:44 Read: times |
#121180 - use a walking write Responding to: ???'s previous message |
You do not need to "erase before write", you need to "erase before write to a previouskly written cell"
an arased flash cell is always 0xff (if inverted it will be 0x00). set up a struct mark ... your actual data ... ... then for write read, if mark = erased - write here and change mark if mark != erased read next struct if at end of flash - erase and start over for read if mark != erased - next struct if mark = erased previous struct is the one Erik |
| Topic | Author | Date |
| C8051f310R flash erase will erase entire page?? | 01/01/70 00:00 | |
| you can't | 01/01/70 00:00 | |
| IDE has that feature... | 01/01/70 00:00 | |
| Make like a CR-R? | 01/01/70 00:00 | |
| That's why flash is not good for data storage | 01/01/70 00:00 | |
| Purpose of using flash | 01/01/70 00:00 | |
| 93C66 EEPROM | 01/01/70 00:00 | |
| use a walking write | 01/01/70 00:00 | |
| Please can you write in assembly | 01/01/70 00:00 | |
| nope | 01/01/70 00:00 | |
| 93C66 EEPROM.....Hardware is already designed | 01/01/70 00:00 | |
| Two different pages available? | 01/01/70 00:00 | |
| Ask the designer | 01/01/70 00:00 | |
| re: Ask the designer | 01/01/70 00:00 | |
| That's why they emphasise the point! | 01/01/70 00:00 | |
| neither does Philips nor Atmel | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
| STOP mode | 01/01/70 00:00 |



