Hello,
I tried as you mentioned using sdk12.1.0 buttonless_dfu and bootloader_secure example. I didn’t modify anything except dfu_public_key.c. As shown in the attached photo it stops after “Starting bootloader...”. Would you let me know what’s wrong?
I normally follow below order for DFU test.
-
public key make and bootloader build using this key.
-
application dfu package make : nrfutil pkg generate --hw-version 51 --sd-req 0x87 --application-version 4 --application application.hex --key-file key.pem app_dfu_package.zip
-
bootloader settings make : nrfutil settings generate --family NRF51 --application application.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 settings.hex
-
merge bootloader.hex and settings : mergehex -m bootloader.hex settings.hex -o boot_set.hex
-
flash soft-device/bootloader(boot_set.hex)/application
-
dfu test
thanks.
Thanks.