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

dfu problem

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.

  1. public key make and bootloader build using this key.

  2. 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

  3. bootloader settings make : nrfutil settings generate --family NRF51 --application application.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 settings.hex

  4. merge bootloader.hex and settings : mergehex -m bootloader.hex settings.hex -o boot_set.hex

  5. flash soft-device/bootloader(boot_set.hex)/application

  6. dfu test

thanks.

Thanks.image description

Related