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

User App fails DFU at 10% completion

I'm having issues with my application implementing DFU. I added the DFU service in my application and can get into the bootloader. I have added my own key to the bootloader and have tested the bootloader out on an SDK52 dev board with the buttonless DFU application (modified according to all the comments in the forum). That works just fine.

SDK 12.1, SD 132 V 3.0

When I use my application and enter the bootloader, when I try to execute the DFU it stops at about 3 seconds into the process (or about 12% uploaded when I'm installing the HRM application as a test). I have a wireshark file of the transfer; I could not get the nrf logger to work with the nrfToolbox.

Apple_DFU_Fail.pcapng

Another bit of information; if I load just the bootloader and Softdevice, I can load my app when the dev Board powers up into the bootloader without any issues.

Parents
  • Hi Kevin,

    From the log it seems like the peripheral crashed.

    What do you see after it crashed ? Did it advertise as DFUTarg or start back to normal application ?

    Do you have watch dog timer on your application ? You would need to keep feeding the dog in the bootloader.

    If you try to test with other example, for example the button less example, can you re-update the application ?

Reply
  • Hi Kevin,

    From the log it seems like the peripheral crashed.

    What do you see after it crashed ? Did it advertise as DFUTarg or start back to normal application ?

    Do you have watch dog timer on your application ? You would need to keep feeding the dog in the bootloader.

    If you try to test with other example, for example the button less example, can you re-update the application ?

Children
No Data
Related