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.
i have written the start addr of bootloader to 0x10001014 manually using nrfjprog using this command:- nrfjprog --memwr 0x10001014 --val 0x00035000.
But as i discussed before why my services are not getting discovered completely 2nd tme for dfu i.e. when i jump from my application to bootloader.
@komal: If you have the bootloader setup correctly, the 0x10001014 address should be written automatically when flashing the bootloader hex file. I'm afraid that all the solutions I have for now for you is either:
Use the SDK v6.0 gcc bootloader that provided here.
Use Keil (free version) to compile the bootloader on SDK v6.1 or later. You will have the same file as the bootloader.hex file I provided earlier and you can modify it.
I can get back to make an example for bootloader SDK v6.1 to be compiled on gcc when I have more time. It's pretty limited workforce in our team now due to Easter holiday.