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

nRF Toolbox DFU upload fails -- "DFU Service not found"

I'm trying to use the ble_app_hrs_s132_with_dfu_pca10040 example project with my PCA10040 nRF52 DK.

Using Keil uVision 5, I'm able to compile the project and flash to the board. Interrogating using LightBlue, I can see the peripheral appear as Nordic_HRM, and the DFU service appears:

image description

Using my iPhone 6 running the latest version of nRF Toolbox (3.0), I enter DFU mode, select the .hex file (I used examples/dfu/ble_dfu_send_hex/test_images_update_nrf52/dfu_test_app_hrm_s132.hex), check "Application", select the Nordic_HRM device, and press "Upload". I then get the error message "DFU Service not found"

What's going wrong? Why might the nRF Toolbox app be saying that the DFU service isn't found, when I can see the service UUID and characteristic UUIDs?

Parents
  • You have to flash both the application and the bootloader to the nRF52, and the application application must support the DFU Service. There is a guide on our Infocenter, found here, showing how to add DFU Service support to an application.

    The central will send a DFU start command to the DFU service in the application, upon receiving this command, the Application will prepare the device for DFU and reset the device in Bootloader Mode. The central will then send the firmware image over the air and once the complete image is received, the bootloader will replace the application and run to the new application.

    -Bjørn

    image description

Reply
  • You have to flash both the application and the bootloader to the nRF52, and the application application must support the DFU Service. There is a guide on our Infocenter, found here, showing how to add DFU Service support to an application.

    The central will send a DFU start command to the DFU service in the application, upon receiving this command, the Application will prepare the device for DFU and reset the device in Bootloader Mode. The central will then send the firmware image over the air and once the complete image is received, the bootloader will replace the application and run to the new application.

    -Bjørn

    image description

Children
No Data
Related