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

dfu service not getting discovered

I have used sofdevice v7.1.0 and nrf51 sdk 6.1.0 the ble_app_hrs project which has support of dfu is not discovering the dfu services. i have enabled the BLE_DFU_APP_SUPPORT flag , then also facing same issue.

Parents
  • @komal: Which project have you used? Have you used the ble_app_hrs_dfu.uvproj project ? The project should have the following file included : bootloader_util_arm.c, ble_dfu.c, dfu_app_handler.c

    You can check if ble_dfu_init() is called.

    bootloader.hex

    ble_app_hrs_dfu.hex

  • @komal: Let me sum up the issue you are having, please correct me if I am wrong:

    1. You can program the bootloader, and can use the bootloader to update application (HRM with DFU)
    2. When you write 1 to the DFU Control Point, you got a link loss. The link got disconnected without any further DFU update.

    This is normal behaviour. MCP v3.7 and SDK v6.1 doesn't support seamless DFU update from application to jump to bootloader and do update automatically. What you need to do is to click back, then do Start Discovery to see if the DFU is advertising, if it is advertising you can connect and do DFU. So 2 more step needed, click back and click start discovery to find the DFU bootloader advertising.

Reply
  • @komal: Let me sum up the issue you are having, please correct me if I am wrong:

    1. You can program the bootloader, and can use the bootloader to update application (HRM with DFU)
    2. When you write 1 to the DFU Control Point, you got a link loss. The link got disconnected without any further DFU update.

    This is normal behaviour. MCP v3.7 and SDK v6.1 doesn't support seamless DFU update from application to jump to bootloader and do update automatically. What you need to do is to click back, then do Start Discovery to see if the DFU is advertising, if it is advertising you can connect and do DFU. So 2 more step needed, click back and click start discovery to find the DFU bootloader advertising.

Children
No Data
Related