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

Secure bootloader upload failed: UNKNOWN (8202)

Hi,

I've been trying to integrate the secure bootloader witrh SDK12 into my device, which had been working fine with the old bootloader and SDK11.

I've swapped everything over, and finally got the bootloader to boot into my application. The only real gotcha was that the bootloader setting had changed, so if I just merged all the hex files it failed to load the application.

To fix that, I just removed the bootloder settings from 0x3F000 and tweaked the check in nrf_dfu_app_is_valid to allow the app even if bank_0.bank_code was 0. Is there a better way - like a way to build a hex file for the correct settings?

Anyway, with that change, and the bootloader running, I get upload failed: UNKNOWN (8202) when trying to upload from the Nordic Android app. The device itself has lit the LED showing that it's connected.

So how do I find out what Error 8202 means? I don't see any obvious mention of it (or 200A, the hex version) in the source.... And any thoughts on how it can be fixed? I figure if there was some version or encryption mismatch then it would have come up with a 'proper' error?

thanks!

Related