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

How to upgrate bootloader?

Hi,

    I want to upgrate bootloader in my firmware.

IC: nRF52832

SDK: 17.02

I have finished my project, this project include boot + softdevice + app + settings,and it works well. But I forget to close the key p0.16 in bootloader project. 
So I want to upgrate bootloader.

Can you give me some advice?

Thank you.

  • Hi,

    The bootloader can be updates via DFU in the same way as an application. Note that the application will be deleted as part of a bootloader upgrade, so you should also upgrade the application in this case as a secondary step. When making a upgrade package for the bootloader, you use something like this:

    pkg generate --hw-version <your_hw_verion> --sd-req <softdevice_id> --bootloader-version <higher_number_than_before> --bootloader bootloader.hex --key-file key.pem bl_dfu_package.zip

    Then you do the DFU upgrade just like you would with only the app.

Related