This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

write/erase time for a sector in 89V51RD2

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.

Parents
  • ofcourse i will detect the powerfail as early as possible.

    regarding the capacitance values i need to know the write time for calculating the capacitance values. and the current consumed by the microcontroller during the write. this value i can get by monitoring the microcontroller for some time during operation but i am still stuck on the write time.

    regarding the write time i thought i could calculate it roughly by flashing a hex file of a know size using the FlashMagic SW. i know that this uses isp routines while my application will use iap routines but the time for writing a byte to the flash would be the same?

    thanks for your inputs. your inputs have helped me a lot!

Reply
  • ofcourse i will detect the powerfail as early as possible.

    regarding the capacitance values i need to know the write time for calculating the capacitance values. and the current consumed by the microcontroller during the write. this value i can get by monitoring the microcontroller for some time during operation but i am still stuck on the write time.

    regarding the write time i thought i could calculate it roughly by flashing a hex file of a know size using the FlashMagic SW. i know that this uses isp routines while my application will use iap routines but the time for writing a byte to the flash would be the same?

    thanks for your inputs. your inputs have helped me a lot!

Children