nRF9160 SiP not shown in "Connected devices" in VS Code with nRF Connect extension

In VS Code in the nRF Connect extension "Connected devices" section there is a "No devices found" error message. I 've been struggling with this for several hours since yesterday.

I updated Thingy's firmware (mfw_nrf9160_1.3.5 on the nRF9160 and the Connectivity bridge application firmware on the nRF52840) and flashed the "LTE serial modem app" using nRF Desktop Programmer tool. This was successful, I can interact with Thingy:91 and connect to NB-IoT network and send data.

The problem is within VS Code.

When I read device's firmware info from inside a terminal launched in VS Code it shows the connected device (Thingy:91) - but "zero" for the fw version?

me@myMac % nrfutil device list
THINGY91_D3AECF8F029C
product         Thingy:91 UART
ports           /dev/tty.usbmodem1101, vcom: 0
                /dev/tty.usbmodem1104, vcom: 1
traits          mcuBoot, modem, nordicUsb, serialPorts, usb

Found 1 supported device(s)

me@myMac % nrfutil device fw-info
serial_number: THINGY91_D3AECF8F029C
        bootloaderType: NRFDL_BOOTLOADER_TYPE_MCUBOOT
        image:
                active: false
                bootable: false
                confirm: false
                confirmed: false
                imageType: NRFDL_IMAGE_TYPE_GENERIC
                pending: false
                permanent: false
                slot: 0
                splitStatus: 0
                version: {"string":"0.0.0.0"}
                versionFormat: string

I updated my MacOS (Sonoma 14.3.1) and removed all older Segger JLink files, updated JLink, nRF Utils, nRF SDK, VS Code and all extensions to make sure it is not a missing installation or outdated version. I made sure nrfutil and nrfjprog can be found in the path.

When I type in the terminal window inside VS Code:

me@myMac % nrfjprog --version 

nrfjprog version: 10.24.0 external
JLinkARM.dll version: 7.94k

me@myMac % nrfutil --version

nrfutil 7.7.0 (c86dfaf 2024-01-23)
commit-hash: c86dfaf44c47891c4d3ca9a90e8e9b1a7743aace
commit-date: 2024-01-23
host: aarch64-apple-darwin
build-timestamp: 2024-01-24T08:57:48.035705Z
classification: nrf-external

In VS Code in the extension settings I tried with "nrfutil" and also with "nrfjprog" as Nrf-connect: Device Provider, left the home-dir empty or provided the path - it's always the same, Thingy:91 not listed. I read other posts that using "nrfjprog" resolved the issue but this didn't work for me unfortunately.

"nrf-connect.deviceProvider": "nrfjutil",
"nrf-connect.nrfutil.home": "~/.nrfutil",


I attached the support log file.
I'd appreciate your help very much, thank you in advance

vscode.nrfconnect-supportlog20240224.rtf

Parents
  • Hi,

    In order to show up in VS Code, you need a debugger. A device with serial DFU  (like the Thingy devices) will nto show up in VS Code, even it it can be programmed via USB DFU from nrfutil or the programmer app).

Reply
  • Hi,

    In order to show up in VS Code, you need a debugger. A device with serial DFU  (like the Thingy devices) will nto show up in VS Code, even it it can be programmed via USB DFU from nrfutil or the programmer app).

Children