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

Ability to restart DFU when interrupted while in DFUTarg

Sometimes during a DFU update, the NRF52811 can stay in bootloader mode (seen with name DFUTarg and mac_address equal tomac_address+1).
I am on Softdevice 16.0
I'm using the https://github.com/NordicSemiconductor/Android-DFU-Library.

To be able to resolve this situation, I imagine that it would be possible for this DFU library to recognize a previous DFU process failed, and restart the DFU process from here.

I have tried setting initiator.setNumberOfRetries(1) but it did not help.

Is there something I'm missing ? How can I implement this myself ? As I can connect to the mac_address+1, is there a command I can send to make it restart on normal mode ?

Parents Reply
  • Hi,

    QuentinFarizon said:
    When you say "the only way to recover is to perform a successful DFU update." => how can we perform a successfulDFU update when in this state ?

    That depends on which state the device is in, which is not entirely clear to me. What DFU master are you using? If you are testing for nRF Connect, then you can get a log which may give some relevant information. Any other information about when/how update fails will also be useful.

Children
Related