This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to flash Thingy:91 through nrf9160DK

Hi.

I'm having trouble flashing my Thingy:91 with the nRF9160DK as a debug probe.

The DK is set to 1.8V, I have a 10pin JTAG cable connected to the debug out of the DK to the Thingy.

The Thingy is set to nRF9160 and both units are powered on.

My prj.conf:

# Heap and stacks
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_MAIN_STACK_SIZE=1024
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_HW_STACK_PROTECTION=y

# Settings - Used to store real-time device configuration to flash.
CONFIG_SETTINGS=y
CONFIG_SETTINGS_FCB=y
CONFIG_FCB=y

# Flash - Used in FOTA and Settings.
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

# MCUBOOT
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y

CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y

Some of these are copied from the "Asset Tracker v2" example.

Build and flash command:

west build -b thingy91_nrf9160ns

west flash

When I connect the Thingy to the LTE Link Monitor I see no UART connection, and it show LTE data from the last firmware that I loaded to the Thingy through the NCS programmer.

Any idea what I'm doing wrong?

Parents Reply Children
Related