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

Single bin and dat files that contain sd+bl+app

Hello,

I know that you can generate a single zip that contains dat and bin files for sd+bl and dat and bin files for the app.

Is it possible to generate a single dat and bin files that contains sd+bl+app?

I will modify the bootloader to handle it.

All the best,

Ofer.

Parents
  • Hi Ofer, 

    The main reason we don't support this option to combine sd+bl+app was that usually it's not enough swap space to receive the combine image of the three when remaining the images of the current ones. So that we split the SD+BL+APP into two phase, first phase is to receive SD+BL , at this phase, the current application is removed and the second phase is to update the new APP when the new BL+SD is replaced and running. 

     
    Let's do some calculations. For example,  the ble_app_hrs and the S140 v7.2.0 require around 256kB + BL and BL settings(32kB) = 288kB.

    This is without the application's data that you may have (bond information for example).

    If you still have enough swap space to receive the image, then it's possible to do the update in one shot. But you would need to modify the bootloader to handle the combined updated and you also need to modify the nrfutil to generate the combine image.  

  • Thank you Hung,

    The activation of the bootloader and softdevice happens after reset in the bootloader. As I understand, If I update the bl+sd to a newer version the old app might not work and I couldn't update it.

  • How do I change the nrfutil?

    Plus, does it mean that I need to change the settings page?

Reply Children
No Data
Related