Hello,
I use the bootloader from the SDK SoftDevice 14.0.0.
I use the Laird module BL652 which have a nRF52832 component without external clock.
To compile the bootloader, I use the source code from : examples\dfu\bootloader_secure_ble\pca10040_debug\armgcc (without secure key, it's more easy).
(I change the clock to the internal RC, I don't have button....)
To test, I load only the SoftDevice 5.0.0 and this bootloader.
The bootloader run and start. I use a tablet with the nRFConnect application.
I generate my application and have 3 type of file : xx.hex, xx.dat and xx.zip
I choose with nRFConnect the file (.hex+.dat or .zip only), the first commands are sent with good execution but, when nRFConnect want to send file, the nRFConnect application generate an error : "Remote DFU error : EXTENDED ERROR....Détails: Unknown command (Code = 3)"
I not find any information about this "Code = 3". This error code appears with the ZIP file or the HEX/DAT file (same error).
My J-Link RTT Viewer log is :
I send too an image from the nRFConnect application to see the problem.
For me, perhaps, the fault is when I generate the zip file with the nRFUtils :
.\nrfutil.exe pkg generate example.zip --application application.hex --application-version 4 --hw-version 52 --sd-req 0x9D
I don't see where the error is comming.
Thank you for your helps.
Best regards,
Damien