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

Updating an nRF52 application over the air with OTA DFU

Hello,

I'm using IAR 8.22.1, SDK 15.0.0, S132, nRF Connect V4.19.2.

I've loaded the 'secure_bootloader' example to PCA10040 EVB.

The device is recognized as DFUTARG and is connected to the smartphone.

I've copied image 'hrs_application_s132.zip' file to the smartphone.

The problem is that when performing DFU start-> Select file type->Distribution packet (ZIP) and selecting the zip file - nothing happens.

Please help me to figure out what is the problem.

Thanks in advance.

Parents Reply
  • Did you follow the blog post I linked to step by step? Did you test the ble_app_hrs project by erasing the dev kit, only flashing the softdevice & the application to the dev kit first & see if that works? 

    From what you are explaining, it seems that the DFU failed to complete since the device is advertising as "DFuTarg" instead of "Nordic_HRM". This is most likely why the device goes back into bootloader mode instead of advertising "Nordic_HRM". 

    Do you have any logging information that you could upload? Does the DFU complete to 100% in nrf connect?

    Which --sd-req code are you using for the softdevice when you create the zip package using nrfutil in Step C2 of the blog post? If you are using s132 v6 softdevice, it should be 0x00a8. You can also use the command: nrfutil pkg generate --help

    or load the softdevice to your dev kit & check the softdevice code using nrf go studio or nrf programmer app in nrf connect for pc.

Children
Related