Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Nordic bootstrap

Download the latest release of the Wasefire platform for your board and follow the instructions of the appropriate section below. You can verify that the Wasefire platform is working by listing the connected Wasefire platforms:

wasefire platform-list

Note that this platform only provides basic functionality. Depending on your final use-case, you may need to update the platform with wasefire platform-update.

nRF52840 DK

These instructions are for the nRF52840 DK.

Install the nrfutil program following the official instructions. Then install the device command and make sure your device is the only one listed:

nrfutil install device
nrfutil device list

Erase the device, program the firmware, and reset the device:

nrfutil device erase
nrfutil device program --firmware=platform-nordic-devkit.hex
nrfutil device reset

nRF52840 Dongle

These instructions are for the nRF52840 Dongle.

Install the nrfutil program following the official instructions. Then install the device and nrf5sdk-tools commands, and generate the package for each step (the signature warning is expected):

nrfutil install device
nrfutil install nrf5sdk-tools
nrfutil nrf5sdk-tools pkg generate --hw-version=52 --sd-req=0 \
  --application-version=0 --application=platform-nordic-dongle-1.hex \
  platform-nordic-dongle-1.zip
nrfutil nrf5sdk-tools pkg generate --hw-version=52 --sd-req=0 \
  --application-version=0 --application=platform-nordic-dongle-2.hex \
  platform-nordic-dongle-2.zip

Make sure the device is in DFU mode by pressing the reset button (the small horizontal button labeled RESET next to the big vertical button). The second LED should pulse red in a breathing pattern.

Make sure your device is the only one listed:

nrfutil device list

Flash the first package:

nrfutil device program --traits=nordicDfu --firmware=platform-nordic-dongle-1.zip

Return the device to DFU mode by pressing the reset button, then flash the second package:

nrfutil device program --traits=nordicDfu --firmware=platform-nordic-dongle-2.zip

nRF52840 MDK USB Dongle

These instructions are for the nRF52840 MDK USB Dongle.

Download the uf2conv.py script from the official repository.

Make sure the device is in DFU mode by plugging it while holding the button. The LED should be green. Also make sure the USB mass storage device class is mounted. It should appear as UF2BOOT. Flash the device:

python3 uf2conv.py --family=0xADA52840 platform-nordic-makerdiary.hex

Replug the device to reset it.