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

DFU signature error while updating application

Hi, I can't manage with error in secure bootloder (from secure_dfu_ble_s132_pca10040_debug example) on custom board with nRF52832xxaa chip. I got a signature validation error trying to update aplication.

I created zip files by command: nrfutil pkg generate --hw-version 52 --sd-req 0x9d --application-version 1 --application app.hex --key-file private.key zip_name.zip

When there is no application (i only flashed softdevice and bootloader) ewerything works, rtt log shows: "get: nrf_dfu_settings: Verify signature" and "nrf_dfu_settings: Image verified"

But when i trying to update secound zip (changig application-version, same private key) i got error: nrf_dfu_settings: Signature failed

Why signature only works for the first time?

On DK board, everything works fine, program is updating successfully many times.

I'm using SDK14, gcc with eclipse, and nRF Connection on android

Related