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

Buttonless DFU - Transfer Succeeds, but no BLE device available after

I'm working the the NRf52 dev board and SDK12.2. I was able to successfully load the standard DFU example and then use the NRF Toolbox on an android to load the example HR zip file to the device. Then verify it worked using the HR portion of the app.

Using nrfutil I created a private and public key. Then used the nrfutil to create a zip file of the application hex file. I again flash the dev board with the DFU example (updated key) on to the NRF52 dev board. Then using NRF Toolbox on android I transfer the buttonless DFU example(updated key) and the phone shows it loading and returns successful. However instead of entering into BSP_INDICATE_ADVERTISING it appears to enter into BSP_INDICATE_ALERT_2(LED 3 blinking ~3 times per second). Additionally when I search for any ble device I don't see anything.

I can use the buttons to trigger the device back into DFU mode. I also tried to load the Experimental BLE Blinky app and this succeeds and then the device behaves as expected. Any help would be greatly appreciated.

Parents Reply Children
  • @Hung Bui Response: resolved the issue

    'm sorry that I didn't check which compile you used. If you use KEIL there is no problem with the example, but for gcc there is an issue with the linker file. You can follow the answer in this case here. You should add the BOOTLOADER_SETTINGS in the ble_app_buttonless_dfu_gcc_nrf52.ld file as instructed in the case.

Related