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

Adding one more FDS record once device deployed over DFU

Hello,

 

I am using nRF52840, SDK_16.0.0, SoftDevice S140 V7.0.1 and Segger for flashing the image. I am using ‘ble_app_blinky’.

 

Assume I have one FDS record. With this binary, we released devices to field.

Later we want to add few more FDS records. We will generate new DFU package with increased FDS records.

Using DFU will there be impact in case:

 

1) Without changing number of pages FDS_VIRTUAL_PAGES, if I just increase number of records and do DFU will there be any issues.

2) How about changing number of pages FDS_VIRTUAL_PAGES.

Will it cause any problem in re-constructing the FDS records after device reset.

 

Thanks & Regards

Vishnu Beema

Parents
  • Hello,

    1. Sorry, not sure I understand what you mean. FDS will never attempt to overwrite an existing record. FDS documentation for reference: Flash Data Storage

    2. Yes, it's the NRF_DFU_APP_DATA_AREA_SIZE you need to modify. But note that 1024 is the page size in 4-byte words while NRF_DFU_APP_DATA_AREA_SIZE defines the number of bytes to reserve. 12288 / 4096 = 3 flash pages.

    3. Yes.

    4. It should be fine as long as your application handles variable payload lengths for this particular record.

    Best regards,

    Vidar

Reply
  • Hello,

    1. Sorry, not sure I understand what you mean. FDS will never attempt to overwrite an existing record. FDS documentation for reference: Flash Data Storage

    2. Yes, it's the NRF_DFU_APP_DATA_AREA_SIZE you need to modify. But note that 1024 is the page size in 4-byte words while NRF_DFU_APP_DATA_AREA_SIZE defines the number of bytes to reserve. 12288 / 4096 = 3 flash pages.

    3. Yes.

    4. It should be fine as long as your application handles variable payload lengths for this particular record.

    Best regards,

    Vidar

Children
No Data
Related