FDS page setting

hi. I have a small question about FDS



As for the setting of page, we intend to use 8k bytes memory to store data, so how should page be set?Should FDS_VIRTUAL_PAGES be set to 2?

This is the space distribution diagram of our products.

Parents Reply
  • Hi,

     

    kenyon said:
    When i set FDS_VIRTUAL_PAGES to 2,do I need to modify the corresponding parameters in the bootloader? I remember in SDK11 you had to tell the bootloader how much flash space the application had?

    Yes, that is correct. in your bootloaders sdk_config.h, you should set the corresponding "NRF_DFU_APP_DATA_AREA_SIZE" to the total size of FDS.

    Please note that "NRF_DFU_APP_DATA_AREA_SIZE" is given in bytes, as compared to the FDS. '8192' should be the value you define if FDS is setup with 2 flash pages (2*1024*4bytes = 8192)

     

    Kind regards,

    Håkon

Children
Related