Thingy:91 X

Flash instructions for the Thingy:91 X

The Thingy:91 X, unlike our development kits, does not have a debugger on board. Therefore, the procedure for flashing firmware is different. In this short paragraph, we will show you what is needed to flash the Thingy:91 X.

1. Connect the Thingy:91 X to your computer with a micro-USB cable.

Thingy:91 X

2. Switch the Thingy:91 X by switching SW1 to the ON position.

3. In Visual Studio Code, add the following Kconfig to the prj.conf file of the application you want to flash to the Thingy:91 X, to will enable MCUboot in the application.

CONFIG_BOOTLOADER_MCUBOOT=y
Kconfig

4. Click on the three horizontal dots to the right of the build directory and select Start New Terminal Here.

5. Enter the following command to list the connected devices and their traits:

nrfutil device list
Terminal command

The Nordic Thingy:91 X will be listed as a Thingy:91 X UART product and have the following details: mcubootnordicUsbserialPorts, and usb traits.

A 21-character J-Link serial number, for example, THINGY91X_C2E0AC7F599.

6. Enter the following command to program the application binary to the nRF9151 application core:

nrfutil device program --firmware dfu_application.zip --serial-number <J-Link Serial number> --traits mcuboot --x-family nrf91 --core Application
Terminal command

Important

Make sure no other program is accessing the COM port from the device, like the Serial Terminal application. In this case, you will see an error similar to below:

Error when programming through MCUBoot: Unable to open MCUBoot device using SMP UART. The resource may be unavailable or blocked by another application.

Wait for the log output to reach 100% and you have succesfully programmed the device.

[00:00:17] ###### 100% [4/4 THINGY91X_4F390677799] Programmed
Terminal command
Thingy:91

Flash instructions for the Thingy:91

The Thingy:91, unlike our development kits, does not have a debugger on board. Therefore, the procedure for flashing firmware is different. In this short paragraph, we will show you what is needed to flash the Thingy:91.

1. Open the plastic covering.

Thingy:91

2. Make sure the Thingy:91 is connected to your computer with a micro-USB cable.

3. Put the Thingy:91 in DFU mode by pressing SW3 while switching SW1 to the ON position. For this, you need to first power off the Thingy:91.

4. Open the nRF Connect for Desktop, then open the Programmer application as shown below

5. Click SELECT DEVICE 

Then, select the Thingy:91 entry from the drop-down list.

6. In the menu on the left, click Add file in the File section and select Browse. A file explorer window appears. Navigate to the build folder of your application <application root directory>\build\zephyr and select the file app_signed.hex .

7. Scroll down in the menu on the left and make sure Enable MCUboot is selected.

8. In the menu on the left, click on write. The MCUboot DFU window appears. Press on write in the MCUboot DFU window.

When the update is complete, a Completed successfully message appears

Register an account
Already have an account? Log in
(All fields are required unless specified optional)

  • 8 or more characters
  • Upper and lower case letters
  • At least one number or special character

Forgot your password?
Enter the email associated with your account, and we will send you a link to reset your password.