![]() The bootloader is located at \examples\dfu\bootloader_secure_ble nrfutil keys display -key pk -format code private.key -out_file public_key.cĪfter you have the public_key.c file we can move to the next step, build the bootloader. Generate your public key based on your private key. Type this command line: nrfutil.exe keys generate private.key To check for update, call pip3 install nrfutil -upgrade (or use python -m pip install nrfutil)Ī1. Or acquired from python using pip3 install nrfutil. nRFutil.exe can be downloaded from github here, the user guide is here. Nordic provides nRFutil tool to generate these keys. We need a pair of Public and Private Key to encrypt the signature and sign the DFU image using ECDSA_P256_SHA256. Make is also required (use MinGW, GNU Make, or Xcode)Ī phone with BLE or a PC with an extra nRF5x DK. ![]() Install version 4.9-2015-q3-update (or newer) of GCC compiler toolchain for ARM. See here if you don't have pip with Python. What you need to prepare before we start: ![]() Combine application, bootloader and softdevice image - Bootloader setting Update new application firmware (Optional) Appendix - Advanced featuresġ. Secure DFU is not backward compatible with Legacy DFU. The older bootloader in SDKv11 and earlier is now called Legacy DFU. Secure DFU is the DFU bootloader provided from nRF5 SDK v12. Here we provide you step by step instructions to make it easier to follow and test Secure DFU. The content of this blog was based on the documentation of BLE Secure DFU example, Bootloader module library and Buttonless DFU service from our SDK.
0 Comments
Leave a Reply. |