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

DFU failure

I'm using SDK 15 and soft device S132 6.0.  Using nrf Toolbox to update custom firmware, I'm running into a situation where the DFU update fails with an error code 4 when trying to rename to DfuTarg before resetting into the bootloader.  

What are some possible reasons why this failure could occur?  What is error code 4?

I'm using similar firmware in other instances and have not had this error occur, so I'm looking for reasons why this error could occur.

Thanks,

Matthew

Parents
  • Hello Matthew,

    What custom firmware are you trying to upload? An application or bootloader firmware?

    Could you specify where you get the error 4? In nRF Toolbox, or in the application?

    Are you trying to rename the DfuTarg before you reset, or is the application failing to update the name, and then it resets?

     

    Sorry there are a lot of questions and no answers, but I am just trying to understand where the issue occurs.

     

    Best regards,

    Edvin

     

  • Hi Edvin,

    I am trying to upload application error.  I see the error 4 as a print out from the nrf Toolbox app.  The app disconnects from the 52832 after reporting the error 4.

    By observing the log messages, my understanding is the nrf toolbox app is trying to rename the device from the name I've given it to DfuTarg before resetting the 52832 into bootloader mode.

Reply
  • Hi Edvin,

    I am trying to upload application error.  I see the error 4 as a print out from the nrf Toolbox app.  The app disconnects from the 52832 after reporting the error 4.

    By observing the log messages, my understanding is the nrf toolbox app is trying to rename the device from the name I've given it to DfuTarg before resetting the 52832 into bootloader mode.

Children
No Data
Related