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 Berg,

    1) You mean I can add new record over already existing FDS records via DFU.

    2) In ble_app_blink app I am seeing the macro FDS_VIRTUAL_PAGES. We are using Serial boot loader and I am not seeing any such macro. How to reserve "Application data" in bootloader. Do I need to modify NRF_DFU_APP_DATA_AREA_SIZE.

    Currently NRF_DFU_APP_DATA_AREA_SIZE is defined to 12288. So can I assume already 12 pages (12288 / 1024) where 1024 is page size) are reserved.

    3) If I change FDS_VIRTUAL_PAGES 13 then only I need to change NRF_DFU_APP_DATA_AREA_SIZE.

    4) What about changing the size of existing record itself. Assume existing record size is of 4 bytes and in new application, I change same record size to 8 bytes. Will this cause any issue.

    Thanks & Regards

    Vishnu Beema

Reply
  • Hello Berg,

    1) You mean I can add new record over already existing FDS records via DFU.

    2) In ble_app_blink app I am seeing the macro FDS_VIRTUAL_PAGES. We are using Serial boot loader and I am not seeing any such macro. How to reserve "Application data" in bootloader. Do I need to modify NRF_DFU_APP_DATA_AREA_SIZE.

    Currently NRF_DFU_APP_DATA_AREA_SIZE is defined to 12288. So can I assume already 12 pages (12288 / 1024) where 1024 is page size) are reserved.

    3) If I change FDS_VIRTUAL_PAGES 13 then only I need to change NRF_DFU_APP_DATA_AREA_SIZE.

    4) What about changing the size of existing record itself. Assume existing record size is of 4 bytes and in new application, I change same record size to 8 bytes. Will this cause any issue.

    Thanks & Regards

    Vishnu Beema

Children
No Data
Related