...
3. Preparing Host
3.1. Installing nRF Util
Download and install the SEGGER J-Link Software from https://www.segger.com/downloads/jlink/:
Code Block sudo dpkg -i JLink_Linux_V794e_x86_64.deb
Install the
libusb-1.0
package:Code Block sudo apt install libusb-1.0-0
Download and install the
nrf-udev
package from https://github.com/NordicSemiconductor/nrf-udev/releases:Code Block sudo dpkg -i nrf-udev_1.0.1-all.deb
Download the latest
nrfutil
executable from https://www.nordicsemi.com/Products/Development-tools/nRF-Util, give it the execute permission, and move it to a folder that is in the system'sPATH
:Code Block chmod +x nrfutil sudo mv nrfutil /usr/local/bin
Install the
nrfutill device
command:Code Block nrfutil install device
3.2. Identifying Nordic Devices on the Linux Host
...
If needed, disable access protection on the nRF5340 network core:
Code Block nrfutil device recover --serial-number <serial number> --core Network
Program the release image to the nRF5340 network core:
Code Block nrfutil device program --serial-number <serial number> --core Network --firmware thingy9151lite_nrf5340_cpunet_app_on_nrf5340dk_***_release.hex
Alternatively, program the application image from the build tree:
Code Block nrfutil device program --serial-number <serial number> --core Network --firmware thingy9151lite_nrf5340_cpunet_app/build/zephyr/zephyr.hex
Reset the network core:
Code Block nrfutil device reset --serial-number <serial number> --core Network
...