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.
tried to upload firmware with mcp v3.7 but with this version the first upload i.e firmware update from bootloader does not takes place. when i press dfu button for uploading it gives uploading firmware and stops at 0% only.
and when i use mcp v3.6 it gives error as:- No response received for ReadRequest on handle 0x000E. Disconnecting.. Lost connection to device. Reason: BTLE_LOCAL_HOST_TERMINATED_CONNECTION Service discovery aborted, connection terminated.
Hi Komal,
Have you flashed the bootloader ? The ble_app_hrs_dfu is only the application that can switch to the bootloader. It's not included the bootloader.
Could you take a screenshot of the error you were seeing ? Also the layout of the memories when you open the board in nRFGo Studio ?
I'm testing here with SDK v6.1, MCP v3.71 and have no problem.
Yes i have flashed the bootloader code first. And the error i am getting after using mcp v3.71 is, it gets hanged while uploading firmware at 0% only. i have attached the screen shot of the layout of memories.
@komal: Please edit your question when you want to attach files or picture.
Could you take a screeshot of the Master Control panel when you do service discovery and when you receive the error ? You may want to capture a sniffer trace to know what happens over the air.
I spotted that you modified the bootloader address. What happens if you use the un-modifed bootloader example in the SDK v6.1 ?
i have modified the bootloader address because if i keep it unmodified and program my device then my device do not advertise the dfu. so i have given BOOTLOADER_REGION_START 0x00035000 and if i keep it 0x0003c000 den memory assigned to the bootloader is 16kb(but actual size of bootloader is 44k).
Where am i going wrong?