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

Upload failed: UNKNOWN (8202)

Hi,

I am working on implementing secure DFU. I have complied and loaded the secure DFU using gcc and am trying to upload a package using nRF Toolbox on android.

I have a package zip file which I built from an example hex (dfu_test_softdevice_s132.hex) using nrfutil. I can connect to the DFU and start the upload then I get the message. Upload failed: UNKNOWN (8202) from the app in the phone.

Not sure how to solve this one.

Parents
  • If you're using SDK v12.x then you're using S132 v3.0.0 which has 0x8C as firmware ID, not 0x80. Could you try to create an image with the command below?

    nrfutil pkg generate --hw-version 52 --sd-req 0x8C --application-version 4 --application Test4.hex --key-file Key2.pem DFU_test4.zip
    

    You could also try to create a package with the --debug-mode option so that you skip the version checks.

Reply
  • If you're using SDK v12.x then you're using S132 v3.0.0 which has 0x8C as firmware ID, not 0x80. Could you try to create an image with the command below?

    nrfutil pkg generate --hw-version 52 --sd-req 0x8C --application-version 4 --application Test4.hex --key-file Key2.pem DFU_test4.zip
    

    You could also try to create a package with the --debug-mode option so that you skip the version checks.

Children
Related