How to update bootloader only

Hi

          I want to update bootloader separately. Is there any way to implement it?

Parents Reply Children
  • Hi,

    Yes. You generate the DFU package using nrfutil, as described in the documentation here. To only update the bootloader you include on the bootloader .hex and specifies that it depends on the SoftDevice ID that you know exists in the device.

    For instance, if the SoftDevice is S132 7.0.1, the SoftDevice ID is 0xCB. Then the nrfutil command to generate the DFU zip is like this: (adjust path and name of the key and bootloader hex as needed, and also ensure that the bootloader version you specify is higher than the one currently being used):

    nrfutil pkg generate --hw-version 52 --sd-req 0xCB --bootloader bootloader.hex --bootloader-version 2 --key-file key.pem bootloader_pkg.zip

Related