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

How to do buttonless dfu

Hi, 

I am using nRF52832 and sdk 16

I am done secure bootloader dfu. By generating the new firmware application. Zip  , this part is working fine

Now I want to do buttonless dfu.  How to generate the bootloader settings? 

2.i have merged all the hex file into single hex file which include bootloader, softdevice, and application

3.how can I make my device to switch to dfu mode? 

Please suggest me an answer. 

Thanks

  1. Pspavi
Parents
  • also did you following the following steps?

    You have to make sure that you rebuild the bootloader using the newly generated keys. If not then the public_keys.c file in the order bootloader will not be able to validate the zip you generated with the new keys. If you simply flashed the example bootloader I don't believe it will work with any zip generated outside of those precompiled examples. You need to rebuild the bootloader with the correct public_key.c. This is the main step the make the bootloader secure.

Reply
  • also did you following the following steps?

    You have to make sure that you rebuild the bootloader using the newly generated keys. If not then the public_keys.c file in the order bootloader will not be able to validate the zip you generated with the new keys. If you simply flashed the example bootloader I don't believe it will work with any zip generated outside of those precompiled examples. You need to rebuild the bootloader with the correct public_key.c. This is the main step the make the bootloader secure.

Children
No Data
Related