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

Best way to Enter DFU Mode from software.

Hi there, 

I would like to set my dongle into DFU mode from software, I am using the USB-CDC-ACM class, and the softdevice as a central device. 

Ideally I would send a command to the dongle and it will jump into reset and then go into DFU mode, the same way it does when the reset buttons is pressed.

What would be the best approach to do this ? 

Cheers, 

Parents Reply
  • Hi Amanda, 

    Thanks for your quick repply, I have loaded the connectivity FW and I was able to set the dongle into dfu mode using nrfutil. 

    However I would like to implement the same in my own application, I have been looking into the connectivity FW coruce code but have not found yet, what the sequence would be to set the device into DFU mode. 

    What would be the procedure to set the device to DFU mode from the application in the same way it does when the push button is pressed ?

    Any other documentation that I could look at apart from this, or an example?

    My application creates a VCP and I can send and receive commands using this COM port. Ideally on receiveing a given command the device should go into DFU mode. 

    Cheers, 

Children
Related