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

Issue with programming over dfu

Hello,

We have the following setup:

SDK Version: nRF51_SDK_8.1.0

bootloader Version: dfu_dual_bank_ble_s110_pca10028.hex

soft Device: s110_nrf51_8.0.0_softdevice.hex

MCP Version: 3.10.0.14


We have implemented dfu service and code from buttonless_dfu example.To do this, we have added files "bootloader_util.c","dfu_app_handler.c" and "ble_dfu.c" to our builds and used same code in main as the example.

Sometimes dfu is successful but sometimes we receive attached error.What could be the issue ?

Tx-20 program fail screen.tif

  • Hi Prasanna, could you attach the log file from Master Control Panel when the error occurs? Also are you seeing any issues if you perform the DFU from our nRF Toolbox or nRF Connect apps for Android or iOS? FIY: MCP has been deprecated in favor of our new nRF Connect for Desktop. Note: It only supports the new Secure Bootloader from SDK v12.x.x and newer.

  • It ended up being services being doubled.Re-adding a service without clearing previous one led to multiple services which MCP could not handle.Using sd_softdevice_disable() before re-adding services did the trick