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

Multiple hex file create for nrf52840

Hello,

I am using nrf52840(nRF5 SDK v15.2.0). armgcc compiler, softdevice s140 hex, and application + OTA bootloader combined hex file.

in my application, I have some settings related variables, which can be update after generating the application hex file.

so I want to make one new hex file were defined only variables and assign new values. how can make new hex file ?

Thanks,

parth

Parents Reply Children
  • Hello,

    I see you edited your original post and clarified what you wanted to do, thanks. A problem with the approach you outlined is that the bootloader requires the update image to be either of a new Softdevice, application, or a bootloader. Which means you would have to do a full application update regardless of whether the calibaration data is kept in a separate hex file or not.

    But have you considered the option to just implement some custom BLE commands to update the calibartion data without DFU? This would bring significantly less overhead to updating the data. The Flash Data Storage (FDS) module may be used to manage storing of the calibration data to flash at runtime.

Related