Troubleshooting

The following section contains guidelines on how to troubleshoot issues with the device.

Modem traces

Modem traces are enabled by default on the Thingy:91 X and continuously stored to external flash. You can output these traces to UART for analysis using the Cellular Monitor app.

Complete the following steps to capture and dump modem traces:

  1. Connect to a serial terminal.

    1. Connect your Thingy:91 X to a serial terminal on UART 0. This allows interaction with the device’s shell commands. You might need to push Button 1 to wake the UART.

  2. Set up modem tracing.

    1. Open the Cellular Monitor app.

    2. Connect the Thingy:91 X to the application, select UART 1 as the trace output, and click Start Traces to begin capturing modem activity.

  3. Dump traces through UART.

    1. Ensure that the error scenario has been captured. The older traces will be overwritten by new ones when the flash buffer is full. So, ensure that the issue you want to troubleshoot has occurred relatively close to the dumping of the traces over UART.

    2. Use the following shell commands in the connected serial terminal to manage and dump the modem traces on UART 1:

      modem_trace stop         # Stop modem tracing if running
      modem_trace size         # Check the size of stored traces
      modem_trace dump_uart    # Dump traces to UART 1 for analysis
      

Factory reset (Bootloader)

If you have not used a debug probe to program your Thingy:91 X, and it became unresponsive, it is possible to recover the device without additional tools.

See Installing nRF Util for instructions for installing nRF Util. Install the nRF Util device command as well. Download the following files from the hello-nrfcloud/firmware release:

If the device shows up on USB, the nRF5340 is correctly running the Connectivity bridge. If not, you can try to put the nRF5340 into serial recovery mode. This is done by turning off the device using the power switch, and pressing and holding Button 2 while turning it back on. An MCUboot device shows up.

nrfutil device program --firmware connectivity-bridge-v2.0.1-thingy91x-nrf53-dfu.zip --traits mcuboot

Then, the Connectivity bridge triggers serial recovery mode for the nRF9151 automatically.

Alternatively, you can force the nRF9151 serial recovery mode the same way with the nRF5340, but using Button 1 instead.

nrfutil device program --firmware hello.nrfcloud.com-v2.0.1-thingy91x-nrf91-dfu.zip --traits mcuboot