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

Secure DFU bootloader: application not starting

Hello,

I have a problem with secure bootloader. what I did:

  1. Flash SoftDevice 130 using nRFgo Studio.
  2. Compiling \examples\dfu\bootloader_secure\ (i removed the error regarding the key).
  3. Flashing the bootloader with Keil (using nrfjprog.exe for flashing).

Unfortunately, the bootloader seems not to run. There is no advertisement "DfuTarg". When I compile the buttonless dfu example and flash it with Keil, there is still no response. So the bootloader does not start the application. There are no debug messages over UART either.

However, when I flash the precompiled debug version (secure_dfu_secure_dfu_ble_s130_pca10028_debug.hex), the bootloader is advertising as "DfuTarg". When I load an application (using Keil or DFU with nrfConnect´), it does not leave the bootloader mode.

Can you tell me whats wrong?

Thank you!

Edit: I use SD130 on nRF51

Parents
  • Hi,

    I have the same problem on:

    pca10040 SD132 SDK v12.1.0 NRF52

    I have erased the dev board and programmed in the SD s132 v3.0.0 using nRFgo Studio. I built the bootloader_secure example (non-debug version in Keil 5 although I saw the same "error regarding the key" as above but defined NRF_DFU_DEBUG_VERSION in the project options to get the Public Key included)) and flashed it in (I tried nrfjprog and nRFgo Studio). The dev board does not advertise at the end of this sequence. LED 1 is not lit.

    I have also tried building the debug version of the example using IAR but with the same result.

    If I flash in the pre-built hex file examples\dfu\bootloader_secure\pca10040_debug\hex\secure_dfu_secure_dfu_ble_s132_pca10040_debug.hex then it advertises as DfuTarg as expected.

    Why does it not advertise when I follow the instructions and build the example from source?

    Thanks, Duncan Hurst

Reply
  • Hi,

    I have the same problem on:

    pca10040 SD132 SDK v12.1.0 NRF52

    I have erased the dev board and programmed in the SD s132 v3.0.0 using nRFgo Studio. I built the bootloader_secure example (non-debug version in Keil 5 although I saw the same "error regarding the key" as above but defined NRF_DFU_DEBUG_VERSION in the project options to get the Public Key included)) and flashed it in (I tried nrfjprog and nRFgo Studio). The dev board does not advertise at the end of this sequence. LED 1 is not lit.

    I have also tried building the debug version of the example using IAR but with the same result.

    If I flash in the pre-built hex file examples\dfu\bootloader_secure\pca10040_debug\hex\secure_dfu_secure_dfu_ble_s132_pca10040_debug.hex then it advertises as DfuTarg as expected.

    Why does it not advertise when I follow the instructions and build the example from source?

    Thanks, Duncan Hurst

Children
No Data
Related