This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FDS lifetime

Hi, I use SDK13.1 FDS example and have some questions about that. Is there any influence about the lifetime of Flash when i use FDS function to write and delete the records.If it has,how to calculate the lifetime of Flash.Thanks.

  • hi MatinBL

    i try to do simple Calculation with FDS lift time. is it right?(only two page ,

    on nrf52(one page is 4096B)

    with base case , only two page (one data and swap). to asset the swap page erase/write count about lifttime.

    if every one minute ,and save one work data. with 2 page(1 data and 1 swap) ,do gc when full update

    one FDS Record = TL Part+ IC Part+ Record ID and data(1W) ,is 4 words . 

    the data page and swap page 2Word, 0xDEADC0DE F11E01FE and 0xDEADC0DE F11E01FF

     1. every page should be update 255 times/minute, 1024W - 2W(header) / 4 =255 (4.25 hours)

     then swap page and one of data page ,do fds_gc(erase then write ) 

    2. Suppose 4.25 x ~10000(nrf52 minimum 10000 write/erase) , it should be about 5 years(4.9189).

    3. if more than data page ,it will more and more ?

Related