Flash endurance cycle considerations

Hello,

As per data sheet "Endurance  10 000 write/erase cycles"

Does it mean do we need to consider either write or erase as 1 unit or both write and erase as write will convert bit 1 to 0 and erase will convert bit 0 to 1.

Ex: If I write and erase same flash sector 10 times then whether can I say, completed 10 cycles (Only erase) or 20 cycles (Write + erase).

Thanks & Regards

Vishnu Beema

Parents
  • Hi,

     

    Does it mean do we need to consider either write or erase as 1 unit or both write and erase as write will convert bit 1 to 0 and erase will convert bit 0 to 1.

    Endurance means write + erase cycle as 1 count, not as 1+1.

     

    One cycle is write and erase.

    as write will convert bit 1 to 0 and erase will convert bit 0 to 1.

    Please note that you have a restriction on how many times you can write to one word before an erase shall be issued, specified as nWRITE:

    https://docs.nordicsemi.com/r/bundle/ps_nrf52840/page/nvmc.html

     

    Kind regards,

    Håkon

  • Thank you for your inputs. Please let me know your inputs on further queries.

    1) Flash reading different address while doing Flash writting at different location
    2) Viceversa, where Flash writting different address while doing Flash reading at different location.

    Above may work if both read and write are being called in code via API.

    But suppose in factory setup where JTAG is connected then in that case whether we can read Flash via JTAG without halting code execution.

    Thanks & Regards

    Vishnu Beema

  • Hi,

    beemavishnu said:
    1) Flash reading different address while doing Flash writting at different location
    2) Viceversa, where Flash writting different address while doing Flash reading at different location.

    CPU is halted if reads from flash while a erase/write is occurring, as per the former link that I shared:

    Håkon Alseth said:
    docs.nordicsemi.com/.../quote]

     

    Kind regards,

    Håkon

Reply
  • Hi,

    beemavishnu said:
    1) Flash reading different address while doing Flash writting at different location
    2) Viceversa, where Flash writting different address while doing Flash reading at different location.

    CPU is halted if reads from flash while a erase/write is occurring, as per the former link that I shared:

    Håkon Alseth said:
    docs.nordicsemi.com/.../quote]

     

    Kind regards,

    Håkon

Children
No Data
Related