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
  • Ok. So it is only for one particular DFU project that you are trying to upload? That would suggest that the issue is not in the bootloader. 

     

    Are you sure that you are using the correct application version (at least one higher than the application that is already running?)

    Can you please try to perform the DFU operation with nRF Connect for Desktop, and see where it fails there?

    Do you get any messages like "INVALID_OBJECT", or "INSUFFICIENT_AUTHENTICATION"?

     

    Does your bootloader require bonding? (By default it does not, so if you have not changed that part, then it probably doesn't).

     

    Best regards,

    Edvin

Reply
  • Ok. So it is only for one particular DFU project that you are trying to upload? That would suggest that the issue is not in the bootloader. 

     

    Are you sure that you are using the correct application version (at least one higher than the application that is already running?)

    Can you please try to perform the DFU operation with nRF Connect for Desktop, and see where it fails there?

    Do you get any messages like "INVALID_OBJECT", or "INSUFFICIENT_AUTHENTICATION"?

     

    Does your bootloader require bonding? (By default it does not, so if you have not changed that part, then it probably doesn't).

     

    Best regards,

    Edvin

Children
No Data
Related