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
    • I have not tried with nRF connect app. Will try back at the office tomorrow.
    • I tried the test packages done with my key (as in the hex files put into a package with the command given) they give the same result, the test packages provided as zip will have the wrong verification key I believe
    • nRF Toolbox is 2.1.1
    • Command line is "nrfutil pkg generate --hw-version 52 --sd-req 0x80 --application-version 52 --application test4.hex --key-file private.pem DFU_test4.zip"
    • micro-ecc was compiled using the makefile given path being "C:\projects\SensorBlue\trunk\external\micro-ecc\nrf52_armgcc\armgcc" Thanks will post the other answers when I can
Reply
    • I have not tried with nRF connect app. Will try back at the office tomorrow.
    • I tried the test packages done with my key (as in the hex files put into a package with the command given) they give the same result, the test packages provided as zip will have the wrong verification key I believe
    • nRF Toolbox is 2.1.1
    • Command line is "nrfutil pkg generate --hw-version 52 --sd-req 0x80 --application-version 52 --application test4.hex --key-file private.pem DFU_test4.zip"
    • micro-ecc was compiled using the makefile given path being "C:\projects\SensorBlue\trunk\external\micro-ecc\nrf52_armgcc\armgcc" Thanks will post the other answers when I can
Children
No Data
Related