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

InfoCenter nRF5 SDK for Thread v0.11.0 Thread Secure DFU Example

I'm following your instructions for testing the Thread Secure DFU example    , but I run into a message "Waiting for NCP to promote to a router ..." at step 6 and I don't observe that the device resets and runs the new application. Any suggestions what went wrong ?

MBR setup

Bootloader setup

DFU client

Prepare the DFU Client

Flash the DFU Client to the board:

Prepare the firmware package for the DFU process:

Use nrfutil to run the DFU:

Parents
  • Hi,

    Thank you for detailed description of your issue. Looking at the screenshots that you provided I can tell that you are using incorrect value of `--family` parameter during setting generation. Since nRF SDK for Thread 0.11.0, correct value for this parameter is NRF52840, not NRF52. In your scenario, the actual client application wasn't even loaded by the bootloader as it had stored settings under incorrect address, that's why you cannot see any DFU progress. The correct command should look like this:

    nrfutil settings generate --family NRF52840 --application client\pca10056\blank\armgcc\_build\nrf52840_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex 

    You can find it in the documentation for nRF SDK for Thread 0.11.0.

    Regards,
    Robert Lubos

Reply
  • Hi,

    Thank you for detailed description of your issue. Looking at the screenshots that you provided I can tell that you are using incorrect value of `--family` parameter during setting generation. Since nRF SDK for Thread 0.11.0, correct value for this parameter is NRF52840, not NRF52. In your scenario, the actual client application wasn't even loaded by the bootloader as it had stored settings under incorrect address, that's why you cannot see any DFU progress. The correct command should look like this:

    nrfutil settings generate --family NRF52840 --application client\pca10056\blank\armgcc\_build\nrf52840_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex 

    You can find it in the documentation for nRF SDK for Thread 0.11.0.

    Regards,
    Robert Lubos

Children
Related