Using the S340 protocol stack to DFU 52840, the SD_VERSION_FAILURE error is reported

The version of bootload I use is as follows:

,Finally, the file was synthesized by NRFUtil and downloaded to 52840. The system started well when it was powered on, which means that the bootload was running well. When I tried to upgrade it with DFU, I received the following error:

I made it clear in the DFU package -- SD-req is 0xb9, which is obtained from the command line query:

.

Wonder why the SD_VERSION_FAILURE error is reported? How do I fix this?

Parents
  • Hi,

    Can you elaborate a bit on what exactly you are doing? What are you updating, and which versions are allready in the device, and which versions are you trying to update to? A key point is that when updating a SoftDevice, the sq-req field must also include the SoftDevice version of the old existing SoftDevice (you can specify a comma separated list of several IDs here). If not, the version check will fail.

  • I am going to update my program and use DFU to update it. You said that the old SoftDevice version must be included in the SQ-REq field when updating, can you give an example? I generate the DFU package with the following command:

  • Which SoftDevice did you use before this update? And which steps are you following? Please elaborate on this. If it was another version of S340, then you should include the ID of that to --sd-req.  (something like "--sd-req 0xba, 0xb9", where 0xba is just a dummy for whichever SoftDevice you had before). I cannot say much more precisely what you should do without knowing in more detail exactly what you are doing.

    PS: Please insert text/code/teminal/etc output using Insert ->Code instead of as a screenshot, as that improves both readability and searchability.

Reply
  • Which SoftDevice did you use before this update? And which steps are you following? Please elaborate on this. If it was another version of S340, then you should include the ID of that to --sd-req.  (something like "--sd-req 0xba, 0xb9", where 0xba is just a dummy for whichever SoftDevice you had before). I cannot say much more precisely what you should do without knowing in more detail exactly what you are doing.

    PS: Please insert text/code/teminal/etc output using Insert ->Code instead of as a screenshot, as that improves both readability and searchability.

Children
Related