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

The demo example of DFU not working with nRF52(PCA10040) DK, SD132v7.0.1, SDK 16.0.0

Hello Nordic Community!

I have seen previous posts mentioning that the DFU example was not working with SDK 15.3 (Getting started blog). But in my case I was able to see the device name as DFUtarget on both the phone and PC-BLE devices. Although previous posts mentioned that the PC-BLE had issues with Linux, the Phone-nRF52 combination did not work in my case either.

The smartphone is able to CONNECT to the DFUtarget, but the DFU fails. After few seconds the DFU disconnects (unsuccessful DFU operation) without any error message.DFU Failure 

I was able to capture the errors using PC-BLE device shown on the right side of the screen.

The steps that I followed are as follows -

1. Generate the private-public key using nrfutil version=5.2.0

2. Compile the micro-ecc using gnu make and I have used SEGGER to build (successful)

3. Tested an app without bootloader to verify the working (ble_app_uart) with SoftDevice v7.0.1 (0xCB) on nRF52 DK.

4. Flashed the SoftDevice and bootloader (successful) Memory Map after flashingas seen on the image from nRF Connect.

5. DFUTarget is visible on scanning and I am able to connect, but the flashing is unsuccessful with the app_build.zip

I have also tried following the instructions from this PDF

Can you please let me know what I could be possibly doing wrong?

PS: I am working on Linux machine (Ubuntu 16.04)

  • Hi Hung Bui,

    Update:

    The DFU example is working with SDK 15.3 for both debug and non-debug version. I checked the working with --application-version and --application-version-string, both worked.

    I really have no clue about why it didn't work yesterday! I had followed the exact same procedure.

    In fact I tried programming nrfjprog and SEGGER Embedded Studio. Both are working for SDK 15.3 and SD 6.1.1 (debug and non-debug).

    Thank you for your quick responses.

Related