This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot advertise in DFU BLE bootloader

Dear all,

I use the softDevice S110 V7.0 together with the SDK v6.1.I 've modified the dfu_dual_bank_ble bootloader. Instead of waiting for the button press, it would check the NRF_POWER->GPREGRET value to decide whether go to DFU mode or go to the existing application. In my application, it would accept one command from BLE and change the NRF_POWER->GPREGRET value and then reset the device to go to DFU mode.

So the expected process would be:

  1. Power on the device and get connected to my device with a host.
  2. Send the command to the device to change the NRF_POWER->GPREGRET and then reset.
  3. Since the device is reset, the host would experience a time-out event, and the BLE connection would be terminated.
  4. In the bootloader, since NRF_POWER->GPREGRET value is changed, it would go clear the NRF_POWER->GPREGRET value and go to DFU mode.
  5. In my host, I should be able to scan a device called DFUTag.

From step 1 to 4, there's no problem, but I cannot scan the DFUTag.

If I modified the bootloader code to be entering DFU mode regardless of the NRF_POWER->GPREGRET value, then I could scan the DFUTag.

Could anyone help me? Thanks

Related