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

Bootloader and SoftDevice update using Thread Secure DFU

nRF5 SDK for Thread and Zigbee v4.1.0 documentation states that only application can be updated over Thread Secure DFU.
However, nRF5 SDK for Thread and Zigbee v2.0.0 documentation says:
"Thread Secure DFU accepts images that contain a new bootloader or application, which contains the Thread network stack":

Does something changed in SDK 4.1 which is causing that bootloader can no longer be updated?
Is there any way to update bootloader and SoftDevice using Thread Secure DFU?

Parents
  • Hi,

    Sorry for the slow response to this. I checked with our developers and they did not see any reasons that bootloader updates should not be possible over the Thread network.

    I verified this by doing a bootloader update and check that the updates are received. I followed the instructions on this page, however in step 5, I did the following changes:

    • Add the line "LEDS_ON(BSP_LED_3_MASK);" after "leds_init();" in main() function of Thread Secure Bootloader project.
    • Modify sdk_config.h file of Thread Secure Bootloader project to set "#define NRF_BL_DFU_ENTER_METHOD_BUTTON 1".
    • Generate DFU packet using following command:
      nrfutil pkg generate --hw-version 52 --sd-req 0x00 --bootloader-version 2 --bootloader bootloader\pca10056\blank\armgcc\_build\nrf52840_xxaa.hex --key-file priv.pem bl_dfu_package.zip

    When the DFU is completed in step 7, hold Button 4 of the board while power cycling it. This will enter the bootloader, and you should observe that LED4 is lit up.

    I will create an internal ticket for getting the documentation revised to avoid confusion.

    Best regards,
    Jørgen

  • Hi,

    I tested following your instructions, but I'm not able to update the bootloader/firmware correctly.

    Will test more tomorrow with more debugging enabled, and will also compare the flash content to see what happens.

    Best regards,
    Jørgen

Reply Children
Related