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

App DFU support

Hello,

I'm trying to implement a DFU support into the application, and in order to learn how it works, I'm following the steps at the page developer.nordicsemi.com/.../a00066.html.

The problem is that I cannot switch into the DFU mode. My PCA10028 board ends up in an unresponsive state and I have to reset it.

This is the list of the steps:

  1. Built the app experiemental_ble_app_hrs_s110_with_dfu_pca10028 using gcc.

  2. Built a bootloader and flashed both 7.1 SoftDevice and Bootloader to the device using nrRFGo Studio.

  3. Opened MCP 3.9 and discovered DFU Target. I was able successfully upload the
    experiemental_ble_app_hrs_s110_with_dfu_pca10028 hex file, and then discovered Nordic_HRM device in MCP, which means that my bootloader and the app are fine.

  4. Then I followed steps 2 to 7 from the web page mentioned above: wrote 01-00 to cccd, then 01-04 to DFU Control Point. At this point MCP got disconnected as expected, but I see no DFU Target ... actually I see no device at all ( I pressed "back" and "start discovery" buttons to initiate discovery).

It looks like I'm missing some critical steps that are not in the instructions.

Please help, thanks.

UPD: the problem seems is related to the experiemental_ble_app_hrs_s110_with_dfu_pca10028 built with GCC. If I build it using Keil, DFU works as described.

Related