To program your DK or dongle with the sniffer firmware using nRF Util's device command, complete the following steps:
-
Connect the DK or dongle to the computer.
-
Locate the firmware file for your DK or dongle. See the table above.
-
Install nRF Util's
devicecommand:nrfutil install device -
Find your sniffer device using the following command:
This command will list the DKs and dongles connected to your computer together with their serial numbers. For example:nrfutil device listFor a development kit, the serial number is made of digits (for example,1234567890 product J-Link board version PCA10056 ports COM13, vcom: 0 COM12, vcom: 1 traits devkit, jlink, seggerUsb, serialPorts, usb A1234B5678C9 product nRF52 RSSI Dongle ports COM11 traits nordicDfu, nordicUsb, serialPorts, usb Found 2 supported devices1234567890), while for the nRF52 Dongle, it is made of 12 characters, both digits and letters (for example,A1234B5678C9). -
Program the firmware file using
device, replacing<serial_number>and<file_name>with the serial number of your device and the firmware file name, respectively:For example:nrfutil device program --serial-number <serial_number> --firmware <file_name>-
The following command would install the
sniffer_nrf52840dk_nrf52840_4.1.1.hexfile to an nRF52840 DK with the serial number1234567890:nrfutil device program --serial-number 1234567890 --firmware sniffer_nrf52840dk_nrf52840_4.1.1.hex -
The following command would install the
sniffer_nrf52840dongle_nrf52840_4.1.1.zipfile to an nRF52840 Dongle with the serial numberA1234B5678C9:nrfutil device program --serial-number A1234B5678C9 --firmware sniffer_nrf52840dongle_nrf52840_4.1.1.zip
-