The user manual of LPC1788 reads Endurance of >100K erase/program cycles .
What among the following must i conclude from the sentence? a. Maximum of 100K cycles, the memory location(s) would then be useless _which is assume is not the case_ b. Minimum of 100K cycles, but no guarantee of the erase/program cycles after that. c. Infinite cycles
PS: I know that this has nothing to do with a KEIL Forum, but have found some of the most intelligent people over here who share the knowledge in-depth. The question may seem a very un-intelligent, and i may look like an ignorant, but need to confirm this i want to perform data write every second.
i want to perform data write every second
You've still got to be sensible about what you do.
100K when erased once per second would only last less than 28 hours.
No guarantee after 100k cycles.
Just a footnote - "no guarantee after 100k" doesn't mean you are guaranteed to get 100k. Just that the majority of memory cells will do at least 100k rewrite cycles at the full temperature range. But now and then, a cell in an erase block just can be weaker.
When doing lots of rewrites, it's important to spread the updates over multiple rewrite blocks to increase the total number of writes.
it's important to spread the updates over multiple rewrite blocks to increase the total number of writes. which can be achieved by using the ECC (Error Correction Code) algorithm implemented for Nand Flash Memories.
i want to perform data write every second. Optionally you may use the registers of RTC (battery backed-up registers) of LPC1788, if it is sufficient to hold your data.
which can be achieved by using the ECC ...
Would you mind expanding on that. I've never used or seen used an ECC algorithm for the purpose of wear levelling in non NAND flash.
Sound like it could be an overkill.
The on-chip battery backed-up registers of RTC are sufficient as of now. The datasheet reads that the current consumption is less than 1uA. How do i calculate the total time duration of the battery support (considering the worst case of no power supply)
which can be achieved by using the ECC (Error Correction Code) algorithm implemented for Nand Flash Memories.
sure, but .... that would require an whole sector erase cycle for every write, whereas a "wandering write" would only require a cycle when a sector is full
that would require an whole sector erase cycle for every write, whereas a "wandering write" would only require a cycle when a sector is full
Exactly. Using ECC could certainly be sensible on occasions, but the suggestion here appears way OTT.