Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Preparing Host

3.1. Installing nRF Util

  1. 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
  2. Install the libusb-1.0 package:

    Code Block
    sudo apt install libusb-1.0-0
  3. 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
  4. 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's PATH:

    Code Block
    chmod +x nrfutil
    sudo mv nrfutil /usr/local/bin
  5. Install the nrfutill device command:

    Code Block
    nrfutil install device

3.2. Identifying Nordic Devices on the Linux Host

...

  1. If needed, disable access protection on the nRF5340 network core:

    Code Block
    nrfutil device recover --serial-number <serial number> --core Network
  2. 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
  3. 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
  4. Reset the network core:

    Code Block
    nrfutil device reset --serial-number <serial number> --core Network

...