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

Implementing DFU trigger library

Board: nRF52833

SoftDevice: s140

SDK version: 17.0.2

I am trying to implement OTA buttonless DFU feature in my custom device (USB Device) which is a central device. So I integrated the buttonless DFU feature into my application and tested it in my nRF52833 DK and it works fine. When testing in my USB custom device it gives a "Bootloader not found" error. Seems like I need to add the DFU trigger library to enter the bootloader. 

1. Am I right here?

Then I integrated the DFU trigger library as given in the example \examples\connectivity\ble_connectivity\Main.c. I got the "This module is intended to be used with boards that have the GP pin shortened with the RESET pin." error message. So I've defined the P0.18 pin to BSP_SELF_PINRESET_PIN as it was given in the nRF52833 pinout and the error message went out.

2. Can I use pin 18 as the reset pin to trigger RESET pin as I have no other GPIO connected to it?

Then I tried to test the application but still, I am getting the same error.

How can I solve this issue? Thanks in advance.

  • Hi,

    I've changed the configuration that you said in the bootloader. The OTA DFU works fine now. 

    Thanks for the support. It's a great help. 

    Thank you.

  • Hi Nabeel, 

    Please try testing with the ble_app_uart example. 
    Please check the log first to see if there is any assert. From the log of the bootloader you provided it doesn't seem that it stopped at sd_softdevice_enable() instead it printed " Advertising..." 

    You may want to compile the application without any optimization, and add DEBUG into the preprocessor's symbols in project setting.

Related