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 am assuming that you have used the default public key when testing with the sample packages and replaced the public key when testing with packages that you have created yourself. Since the sample packages does not work, then it suggests that the micro-ecc library has been compiled incorrectly. Please make sure that the following definitions are used

    -DuECC_ENABLE_VLI_API -DuECC_VLI_NATIVE_LITTLE_ENDIAN=1 -DuECC_SQUARE_FUNC=1 -DuECC_SUPPORTS_secp256r1=1 -DuECC_SUPPORT_COMPRESSED_POINT=0 -DuECC_OPTIMIZATION_LEVEL=3
    
Reply
  • I am assuming that you have used the default public key when testing with the sample packages and replaced the public key when testing with packages that you have created yourself. Since the sample packages does not work, then it suggests that the micro-ecc library has been compiled incorrectly. Please make sure that the following definitions are used

    -DuECC_ENABLE_VLI_API -DuECC_VLI_NATIVE_LITTLE_ENDIAN=1 -DuECC_SQUARE_FUNC=1 -DuECC_SUPPORTS_secp256r1=1 -DuECC_SUPPORT_COMPRESSED_POINT=0 -DuECC_OPTIMIZATION_LEVEL=3
    
Children
No Data
Related