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

Parents
  • Hi,

    There were a couple of known bugs in the buttonless example provided in SDK 12.1.0, which were fixed in SDK 12.3.0. Recommend that you try with that example instead. In addition, recommend to start with the '_debug' version of the bootloader project. This example has debug logging over RTT turned on by default. The log will show why the DFU is failing (failing pre-validate, etc).

Reply
  • Hi,

    There were a couple of known bugs in the buttonless example provided in SDK 12.1.0, which were fixed in SDK 12.3.0. Recommend that you try with that example instead. In addition, recommend to start with the '_debug' version of the bootloader project. This example has debug logging over RTT turned on by default. The log will show why the DFU is failing (failing pre-validate, etc).

Children
Related