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

DFU over USB fails at 75% with application + Soft Device + bootloader

Hi,

We've created a FW image targeting a PCA10056 which consists of our application FW, the example secure DFU bootloader over USB, and the softdevice. Everything works fine (we can interact with the application and receive expected data). Although we can jump to the bootloader on power up by pressing the appropriate button and even launch DFU, the transaction always seems to fail at 75% and we see that the USB to serial connection is disconnected. We have tried this on both Windows and Linux and see the same behavior. Our DFU package contains a bootloader, Soft Device, and application. We need to update the application and bootloader, and since we can't update only those two, we need to package the Soft Device as well.

Can you advise as to what could be the issue?

Thank you,

Mohammed

Parents Reply Children
  • Hi,

    While the DFU of only the BLE bootloader succeeds, the board is no longer responsive after the update. When I flash just the BLE bootloader over JTAG, it works fine, so I think my BLE bootloader is fine. I tried creating a zip package with the BLE bootloader and soft device and a package with just the bootloader and both exhibit the same behavior.

    Can you advise?


    Thanks

  • Hi,

    Have you tried to do any debugging of the bootloader or application after DFU? I think a good first step is to confirm if the application is started at all, and also if program execution gets stuck somewhere (e.g. in hardfault handler).

    If you want, you can use "nrfjprog --readregs" to read the CPU register content when the device is unresponsive. This may provide some clues.   

Related