2 Replies Latest reply on May 27, 2018 6:48 PM by RuzheZ_36

    Endurance optimization of EEPROM (~odometer implementation)


      For maintenance purposes, I need to count and record operational cycles of a mechanical device that our PSoC5LP is controlling.


      Power might be cut-off any time and I can't expect to reliably store the counter value in EEPROM as the supply voltage is falling (hardware limitation).  Therefor, I would like to continuously log cycles as they happen, but I worry about the endurance of the EEPROM over many years of operation.


      The datasheet specifies 1M erase/program cycles at 25C, but we might have over 50M cycles that must be logged, so some questions arise about the details of the EEPROM implementation:

      1. Is the "EEPROM" component in PSOC5LP actually FLASH memory, where erased memory bits are '1' and bits get "programmed" to '0', but can only be set back to '1' if "erased"?
      2. If so, what exactly is a erase/program cycle?  If I erase a 16-byte row once and then "program" it 128 times, changing one, consecutive bit each time; does this count as just one erase/program cycle, or is it 128?


      Thanks in advance!