Nordic Semiconductor DKs contain SEGGER J-Link Onboard (OB) debuggers and are listed with the jlink device trait when connected to the computer through the J-Link USB port.
Note
This is a method valid for devices locally connected to your computer through the J-Link USB port.
For information about programming devices over the network using remote J-Link probes, see Programming a device with a SEGGER J-Link OB Debugger over the network.
You can use the following procedure to program new firmware to the board:
-
Find the serial number of the J-Link device connected to the system by running the following command:
nrfutil device list --traits jlinkThis serial number of the J-Link device will be referenced as
<serial_number>in the next steps. -
Delete old firmware on the board by running the following command:
nrfutil device erase --serial-number <serial_number>For more information about the
erasesubcommand, see Erasing the device. -
Program the new firmware to the board by running the following command with the correct
/path/:nrfutil device program --serial-number <serial_number> --firmware /path/fw.hex -
Reset the device by running the following command:
nrfutil device reset --serial-number <serial_number>