Syntax

nRF Util

tags
nRF Util

The command uses the following structure:

nrfutil nrf5sdk-tools pkg display  <PATH>
nrfutil nrf5sdk-tools pkg generate [--debug-mode] [--application PATH] [--application-version ARG] [--application-version-string ARG] [--bootloader PATH] [--bootloader-version ARG] [--hw-version ARG] [--sd-req ARG] [--sd-id ARG] [--softdevice PATH] [--sd-boot-validation ARG] [--app-boot-validation ARG] [--key-file PATH] [--external-app] [--zigbee ARG] [--zigbee-manufacturer-id ARG] [--zigbee-image-type ARG] [--zigbee-comment ARG] [--zigbee-ota-hw-version ARG] [--zigbee-ota-fw-version ARG] [--zigbee-ota-min-hw-version ARG] [--zigbee-ota-max-hw-version ARG] <PATH>
Flag Values Description
--debug-mode - Debug mode switch, enables version check skipping.
--application PATH The application firmware file.
--application-version ARG The application version.
--application-version-string ARG The application version string, e.g. "2.7.31". Will be converted to an integer, e.g. 20731.
--bootloader PATH The bootloader firmware file.
--bootloader-version ARG The bootloader version.
--hw-version ARG The hardware version.
--sd-req ARG The SoftDevice requirements. A comma-separated list of SoftDevice firmware IDs (1 or more) of which one must be present on the target device. Each item on the list must be a two- or four-digit hex number prefixed with "0x" (e.g. "0x12", "0x1234"). A non-exhaustive list of well-known values to use with this option follows:
|s112_nrf52_6.0.0|0xA7|
|s112_nrf52_6.1.0|0xB0|
|s112_nrf52_6.1.1|0xB8|
|s112_nrf52_7.0.0|0xC4|
|s112_nrf52_7.0.1|0xCD|
|s112_nrf52_7.2.0|0x103|
|s112_nrf52_7.3.0|0x126|
|s113_nrf52_7.0.0|0xC3|
|s113_nrf52_7.0.1|0xCC|
|s113_nrf52_7.2.0|0x102|
|s113_nrf52_7.3.0|0x125|
|s122_nrf52_8.0.0|0xEA|
|s122_nrf52_8.1.1|0x112|
|s130_nrf51_1.0.0|0x67|
|s130_nrf51_2.0.0|0x80|
|s130_nrf51_2.0.1|0x87|
|s132_nrf52_2.0.0|0x81|
|s132_nrf52_2.0.1|0x88|
|s132_nrf52_3.0.0|0x8C|
|s132_nrf52_3.1.0|0x91|
|s132_nrf52_4.0.0|0x95|
|s132_nrf52_4.0.2|0x98|
|s132_nrf52_4.0.3|0x99|
|s132_nrf52_4.0.4|0x9E|
|s132_nrf52_4.0.5|0x9F|
|s132_nrf52_5.0.0|0x9D|
|s132_nrf52_5.1.0|0xA5|
|s132_nrf52_6.0.0|0xA8|
|s132_nrf52_6.1.0|0xAF|
|s132_nrf52_6.1.1|0xB7|
|s132_nrf52_7.0.0|0xC2|
|s132_nrf52_7.0.1|0xCB|
|s132_nrf52_7.2.0|0x101|
|s132_nrf52_7.3.0|0x124|
|s140_nrf52_6.0.0|0xA9|
|s140_nrf52_6.1.0|0xAE|
|s140_nrf52_6.1.1|0xB6|
|s140_nrf52_7.0.0|0xC1|
|s140_nrf52_7.0.1|0xCA|
|s140_nrf52_7.2.0|0x100|
|s140_nrf52_7.3.0|0x123|
|s212_nrf52_6.1.1|0xBC|
|s332_nrf52_6.1.1|0xBA|
|s340_nrf52_6.1.1|0xB9|
--sd-id ARG The new SoftDevice ID to be used as --sd-req for the Application update in case the ZIP contains a SoftDevice and an Application.
--softdevice PATH The SoftDevice firmware file.
--sd-boot-validation ARG The method of boot validation for Softdevice.
--app-boot-validation ARG The method of boot validation for application.
--key-file PATH The private (signing) key in PEM format.
--external-app - Indicates that the FW upgrade is intended to be passed through (not applied on the receiving device).
--zigbee ARG Create an image and distribution package for Zigbee DFU server.
--zigbee-manufacturer-id ARG Manufacturer ID to be used in Zigbee OTA header.
--zigbee-image-type ARG Image type to be used in Zigbee OTA header.
--zigbee-comment ARG Firmware comment to be used in Zigbee OTA header.
--zigbee-ota-hw-version ARG The zigbee OTA hw version.
--zigbee-ota-fw-version ARG The zigbee OTA fw version.
--zigbee-ota-min-hw-version ARG The zigbee OTA minimum hw version of Zigbee OTA Client.
--zigbee-ota-max-hw-version ARG The zigbee OTA maximum hw version of Zigbee OTA Client.