Bootloader based on nrf5 secure bootloader example ported to SW102
- A step by step guide from the Nordic DevZone Blog for further reading.
- The Nordic secure bootloader example from SDK12.3.0
- nrf5 SDK 12.3.0 bootloader library
- For DFU packet generation we use the Nordic command line tool nrfutil. It is a Python-based, so you need to:
- Install Python 2 with pip. See here if you don't have pip with Python. Make also sure that the Python installation is in your path.
- Install nrfutil from python using pip install nrfutil. To check for update, call pip install nrfutil --upgrade.
- It is also a precompiled Windows executable available, then you don't need to install Python ;).
- For creating a firmware update package, we use the command:
nrfutil pkg generate --application PATH_TO_HEX_FILE --key-file PATH_TO_PRIVATE_KEY --application-version 1 --hw-version 51 --sd-req 0x87 update_firmware.zip
- For an explanation of the command line parameters, see Step C. Generate DFU .zip packet. in Nordics step by step guide.
- For the acceptance rules for versions, please see the Nordic SDK documentation.