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.
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.
@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.
@Komal: I'm checking the bootloader you provided, I can't find the part where NRF_UICR_BOOT_START_ADDRESS (0x10001014) is written at the end of the hex file. It's where the address of the bootloader is written, in your case it is 0x35000.
Have you made sure you have the code to set the address for bootloader in UICR in bootloader_util_gcc.c , similar to what we have here.
And you have the section are reserved for it in gcc_nrf_51_bootloader_xxaa.ld as we have here ?
@Komal: I'm checking the bootloader you provided, I can't find the part where NRF_UICR_BOOT_START_ADDRESS (0x10001014) is written at the end of the hex file. It's where the address of the bootloader is written, in your case it is 0x35000.
Have you made sure you have the code to set the address for bootloader in UICR in bootloader_util_gcc.c , similar to what we have here.
And you have the section are reserved for it in gcc_nrf_51_bootloader_xxaa.ld as we have here ?