vscode nrf Connect no devices found

I've been using my segger jlink base compact with vscode and the nrfconnect extension.  Everything was working fine, but suddenly, my board stopped showing in the connected devices.  

Normally I would suspect some driver or configuration error, but

  • if I plug in a nrf5340 dev kit, it shows up in vscode nrfconnect panel.  
  • I can still use nrfjprog to interact with my custom board (recover, erase, etc)
  • I can still flash the board with the west utility
  • the jlink shows up in nrf connect programmer and I can interact with my board using it.

I'm left to assume that all of the hardware is working correctly, but there is some sort of vscode config is broken.

Things I've tried:

Anyone have some insight on this?

Parents
  • Hi

    Please provide support information from the VS Code extension:

    1. Open the command palette (Ctrl + Shift + P or View > Command Palette).
    2. Write "nRF Connect: Generate support information" and press enter.
    3. Copy the entire support information output.
    4. Upload it here using Insert > Code or upload a .txt file with Insert > Image/video/file.

    Make sure to remove confidential information you do not want to be shared in a public case.

    Which version of the DK do you have? You can find the version on a sticker on the DK, as shown in the picture below:

    Best regards,
    Marte

  • Hi, I have the same problem.

    IMPORTANT: The data below could contain sensitive or confidential information about your environment.
    If you do not wish this to be seen by others, please make sure to remove it before sharing.
    
    For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "win32",
        "osVersion": "Windows 10 Pro",
        "osKernel": "10.0.19043",
        "vscode": "1.79.1",
        "electron": "22.5.7",
        "node": "v16.17.1"
      },
      "system": {
        "date": "2023-06-15T07:53:20.688Z",
        "vscodeRoot": "c:\\Users\\xxx\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:47:35",
        "osUptime": "01:54:25",
        "cpu": {
          "model": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
          "speed": "2904 MHz",
          "count": 2
        },
        "memory": {
          "total": "15.88 GB",
          "free": "8.69 GB"
        }
      },
      "workspace": {
        "name": "Untitled (Workspace)",
        "workspaceFile": "1686552793413",
        "folders": [
          "c:\\Users\\xxx\\nordic\\hello_world",
          "c:\\Users\\xxx\\nordic\\peripheral",
          "c:\\Users\\xxx\\nordic\\peripheral_1"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2023.4.179",
            "path": "c:\\Users\\xxx\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.4.179-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2023.4.15",
            "path": "c:\\Users\\xxx\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2023.4.15",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2023.4.61",
            "path": "c:\\Users\\xxx\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2023.4.61",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2023.4.17",
            "path": "c:\\Users\\xxx\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2023.4.17",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": null,
          "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
          "ms-vscode.js-debug": "1.78.0",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.vscode-js-profile-table": "1.0.3",
          "ms-vscode-remote.remote-wsl": "0.79.4",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      },
      "tools": {
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.15.1",
        "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "7.88g",
        "C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.19.0",
        "nrfutil": "Not found",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\cmake.exe": "3.20.5",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Scripts\\west.exe": "0.14.0",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\python.exe": "3.8.2",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\ninja.exe": "1.9.0",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\gperf.exe": "3.1",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\dtc.exe": "1.4.7",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\gn.exe": "2073",
        "c:\\ncs\\toolchains\\v2.2.0\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "gdbPath": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe"
      },
      "sdks": [
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\v2.4.0"
        },
        {
          "version": "2.2.0",
          "path": "c:\\ncs\\v2.2.0"
        }
      ],
      "toolchains": [
        {
          "version": "2.2.0",
          "path": "c:\\ncs\\toolchains\\v2.2.0"
        },
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\toolchains\\31f4403e35"
        }
      ],
      "connectedDevices": [],
      "deviceProvider": "nrfutil",
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "${nrf-connect.sdk:2.2.0}",
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.2.0}"
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig",
            "executeInDefaultShell": false
          },
          "welcome": {
            "showOnStartup": true
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [
            "\\Users\\xxx\\nordic\\evk"
          ],
          "enableTelemetry": true,
          "taskBindings": {},
          "debugging": {
            "backend": "nRF Debug",
            "flash": true,
            "bindings": {}
          },
          "activeAppFollowActiveEditor": true,
          "deviceProvider": "nrfutil"
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "environment": {
        "westExe": "west",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\xxx",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\xxx",
          "Path": "c:\\ncs\\toolchains\\v2.2.0\\mingw64\\bin;c:\\ncs\\toolchains\\v2.2.0\\mingw64\\libexec\\git-core;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin;c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;c:\\ncs\\toolchains\\v2.2.0\\arm-zephyr-eabi\\bin;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Scripts;C:\\Program Files\\scicoslab-4.4.2\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\OpenVPN\\bin;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\IBM\\Client Access\\Emulator;C:\\Program Files (x86)\\IBM\\Client Access\\Shared;C:\\Program Files (x86)\\IBM\\Client Access\\;C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Git\\cmd;C:\\Users\\xxx\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\xxx\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\xxx\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\xxx\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
          "ZEPHYR_BASE": "c:\\ncs\\v2.2.0\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk",
          "PYTHONPATH": "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Lib;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Lib\\site-packages",
          "Python3_ROOT": "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\xxx",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\xxx",
          "Path": "C:\\Program Files\\scicoslab-4.4.2\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\OpenVPN\\bin;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\IBM\\Client Access\\Emulator;C:\\Program Files (x86)\\IBM\\Client Access\\Shared;C:\\Program Files (x86)\\IBM\\Client Access\\;C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Git\\cmd;C:\\Users\\xxx\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\xxx\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\xxx\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\xxx\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
          "PATH": "C:\\Program Files\\scicoslab-4.4.2\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\OpenVPN\\bin;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\IBM\\Client Access\\Emulator;C:\\Program Files (x86)\\IBM\\Client Access\\Shared;C:\\Program Files (x86)\\IBM\\Client Access\\;C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Git\\cmd;C:\\Users\\xxx\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\xxx\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\xxx\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\xxx\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
        },
        "toolchainPath": "c:\\ncs\\toolchains\\v2.2.0",
        "toolchainBinPath": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin",
        "toolchainVersion": "2.2.0"
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }

    How to fix?

    Many Thanks & Best Regards

  • Hi,

    What device are you using, and are you using an external debugger or connecting the device directly to the computer using USB?

    Best regards,
    Marte

  • and you did try the fix suggested by @fabien-ch here?

  • Hi,

    sorry for my extremely delay to come back..

    I fixed in my PC with a Segger Driver Upgrade & using the set up suggested by

     fabien-ch:



    Now I try to moving on to configure the BSP for my custom board and a SPI driver.

    Many thanks for your support & Kindness.
    Have a nice day, See you soon & Best Regards
Reply Children
No Data
Related