Installing Thingy-9151-Lite Images

1. Overview

This application note explains how to install the Zephyr images to the Emcraft Thingy-9151-Lite hardware platform (refer to Setting Up Thingy-9151-Lite Hardware Platform for a description of the hardware platform).

2. Obtaining Zephyr Images

The Zephyr images to be installed onto the Thingy-9151-Lite platform can be obtained using one of the two approaches, as follows:

  1. Use the prebuilt images provided in Release Notes.

  2. Build the images from the sources, as documented in Building Thingy-9151-Lite Software.

3. Preparing Host

3.1. Installing nRF Util

  1. Download and install the SEGGER J-Link Software from https://www.segger.com/downloads/jlink/:

    sudo dpkg -i JLink_Linux_V794e_x86_64.deb
  2. Install the libusb-1.0 package:

    sudo apt install libusb-1.0-0
  3. Download and install the nrf-udev package from Releases ยท NordicSemiconductor/nrf-udev:

    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:

  5. Install the nrfutill device command:

3.2. Identifying Nordic Devices on the Linux Host

  1. Usenrfutil to list all connected development kits, their serial numbers and associated serial ports:

  2. Use nrfutil to identify the specific devices:

  3. In this example, the nRF9161 serial number is 1050931892, and the nRF5340 serial number is 1050021575. They should be used to program the corresponding devices.

4. Installing Zephyr Images

4.1. Programming Thingy-9151-Lite Application to nRF9161

  1. If needed, disable access protection on nRF9161:

  2. Program the release image to nRF9161:

  3. Alternatively, program the application image from the build tree:

  4. Reset the board:

4.2. Programming Thingy-9151-Lite Application to nRF5340 Application Core

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

  2. Program the release image to the nRF5340 application core:

  3. Alternatively, program the application image from the build tree:

  4. Reset the application core:

4.3. Programming Thingy-9151-Lite Application to nRF5340 Network Core

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

  2. Program the release image to the nRF5340 network core:

  3. Alternatively, program the application image from the build tree:

  4. Reset the network core:

ย