Hi there,
I'm struggling to get a DFU over serial done. I'm using a nRF52840-DK (PCA10056), the nRF-SDK 15.0 and nrfutil 3.5.0.
I
- genereated the key pair,
- built the secure-bootloader (pca10056_uart_debug) example with my generated public_key.c,
- built the ble_app_blinky (pca10056, s140),
- programmed the s140 v 6.0.0 SoftDevice (chiperase),
- programmed the bootloader (sectorerase) and
- generated DFU package from the ble_app_blinky.hex (sd-req 0xA9) with my private key
When I perform the DFU with nrfutil i get the following error message:
pc_ble_driver_py.exceptions.NordicSemiException: Unexpected Executed OP_CODE.
Expected: 0x03 Received: 0x1D
Further analysis reveal that after the first firmware package is transfered, the host sends a CRC request [0x03] and the answer is [0x60, 0x1D, 0x02].
I have no idea why this is failing or what the response code [0x1D] means.
I would appreciate any help on that matter.
Kind regards,
Iven Kolterjahn