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

Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets

Hello!

I have problem with DFU bootloader on nRF51822-xxAA.

For first, I made all steps for upload bootloader(erase chip, upload SD s130, upload bootloader). I used example dual_bank_ble_s130 with small changes for my custom board (My board haven't buttons).

Next, I uploaded over the air hex file dfu_test_app_hrm_s130_w_dfu.hex, from exampls too. All work nice. I can see device "Nordic_HRM" in MCP and can start DFU process.

And finally, I made my application with DFU BLE Service. Upload this app via MCP. Application work fine, in MCP i see DFU characteristics and can start DFU procces, BUT in bootloader after reconnect device is reset.

Additionaly, In MCP I can enable DFU Control Point notification, Write 0x0001 to DFU Control Point, next bootloader starts, connection lost. After that I click connect in MCP and connect to bootloader. And here is the problem, I click to discover services and device is reset and application starts. When I decover services in bootloared without any uploaded application and with dfu_test_app_hrm_s130_w_dfu.hex all work fine.

Help solve the problem.

Related