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

NRF52840 PDK BLE Secure DFU Bootloader

files.rar

Hello, I am using nRF5 SDK14.1.0 and soft device s140_nrf52840_5.0.0-2.alph.I can program the board witt the bootloader(both pca10056 and pca10056_debug) successfully and its advertising. I generated firmware package from the application hex file for both (both pca10056 and pca10056_debug) and i am using nRF Toolbox to update the firmware. Here is the steps that i followed:

  1. program soft device.
  2. program Bootloader (i am using iar and followed this) .
  3. generate keys.
  4. generate firmware package with and without bootloader settings page, and for both bootloader versions. DfuTarg start advertising and led1 and led3 is on, when i send the firmware package from nRF Toolbox led1 truns off and led2 truns on for 2 seconds and then DfuTarg start advertising again with led1 and led3 on, so there is no application running it's just a bootloader again!
Parents
  • Hi Hung, I tested your bootloader and it works. I didn't modified anything in bootloader and yes i replaced the public key. Can you use my .zip and public key with pca10056 bootloader not debug version? becuase my problem is in version validation and debug version skip this step as i said before uECC verify() return 0 which means the signature is not valid.

Reply
  • Hi Hung, I tested your bootloader and it works. I didn't modified anything in bootloader and yes i replaced the public key. Can you use my .zip and public key with pca10056 bootloader not debug version? becuase my problem is in version validation and debug version skip this step as i said before uECC verify() return 0 which means the signature is not valid.

Children
No Data
Related