hi,
i would like to know the write and erase times for a sector for a 89V51RD2 microcontroller. if you have this info please share it.
Also i see from the datasheet that the write/erase cycles are 10000. is this for one sector or for the entire block? the origin of this question is can the lifetime of the device be calculated as
lifetime of flash = 10000 * number of sectors ?
i will use one sector at a time and then when this sector is full erase and begin writing again to this sector. when the number of write/erase cycles are over then i move over to the next sector. will this work?
any inputs will be helpful. thanks in advance.
you are overcomplicating it use a struct
x x x cksm used
to write after start/power fail: start from the beginning, the first struct where used is ff is where you write then keep a RAM pointer till next fail
to read after powerfail finf the first where used is ff go one back, if cksm is OK, use it, if not, go one more back
i have done this many times, the abive just works
thanks for your reply...this seems to be a good method. i will use it.