SDKs and Toolchains no longer available in VSCode extension

After working with the VSCode extension for a few weeks now I find the extension no longer thinks the SDKs or Toolchains I was using are installed.

[08:48:38] west build --build-dir d:\DataRoot\Projects\Equla\Nordic_Apps\vert2_ble_fanstel_eval\build_ev_bm833 d:\DataRoot\Projects\Equla\Nordic_Apps\vert2_ble_fanstel_eval
[08:48:38] Failure (code 1).
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.22621",
    "vscode": "1.76.2",
    "electron": "19.1.11",
    "node": "v16.14.2"
  },
  "system": {
    "date": "2023-03-16T14:48:54.358Z",
    "vscodeRoot": "c:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "00:02:51",
    "osUptime": "00:06:56",
    "cpu": {
      "model": "AMD Ryzen 7 PRO 5850U with Radeon Graphics",
      "speed": "1896 MHz",
      "count": 8
    },
    "memory": {
      "total": "63.31 GB",
      "free": "54.48 GB"
    }
  },
  "workspace": {
    "name": "nordic_apps (Workspace)",
    "workspaceFile": "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\nordic_apps.code-workspace",
    "folders": [
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\blinky",
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_uart",
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\remote_controller",
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\uart_echo_bot",
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\vert2_ble_fanstel_eval",
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_multi_service",
      "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\Peripheral_Device_Info_Service"
    ]
  },
  "extensions": {
    "internal": {
      "nordic-semiconductor.nrf-connect": {
        "version": "2023.2.56",
        "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.2.56-win32-x64",
        "isActive": true
      },
      "nordic-semiconductor.nrf-terminal": {
        "version": "2022.11.29",
        "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.11.29",
        "isActive": true
      },
      "nordic-semiconductor.nrf-devicetree": {
        "version": "2022.11.153",
        "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2022.11.153",
        "isActive": true
      },
      "nordic-semiconductor.nrf-kconfig": {
        "version": "2022.11.50",
        "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2022.11.50",
        "isActive": true
      }
    },
    "external": {
      "marus25.cortex-debug": "1.10.0",
      "ms-vscode.cpptools": "1.14.4",
      "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
      "ms-vscode.js-debug": "1.76.1",
      "ms-vscode.js-debug-companion": "1.0.18",
      "ms-vscode.vscode-js-profile-table": "1.0.3",
      "aaron-bond.better-comments": "3.0.2",
      "albert.TabOut": "0.2.2",
      "cheshirekow.cmake-format": "0.6.11",
      "dan-c-underwood.arm": "1.7.4",
      "Dart-Code.dart-code": "3.60.1",
      "Dart-Code.flutter": "3.60.0",
      "eamodio.gitlens": "13.3.2",
      "Gruntfuggly.todo-tree": "0.0.224",
      "jeroen-meijer.pubspec-assist": "2.3.2",
      "mcu-debug.debug-tracker-vscode": "0.0.14",
      "mcu-debug.memory-view": "0.0.20",
      "mcu-debug.peripheral-viewer": "1.4.3",
      "mcu-debug.rtos-views": "0.0.6",
      "mhutchie.git-graph": "1.30.0",
      "ms-python.isort": "2022.8.0",
      "ms-python.python": "2023.4.1",
      "ms-python.vscode-pylance": "2023.3.20",
      "ms-toolsai.jupyter": "2023.2.1200692131",
      "ms-toolsai.jupyter-keymap": "1.1.0",
      "ms-toolsai.jupyter-renderers": "1.0.15",
      "ms-toolsai.vscode-jupyter-cell-tags": "0.1.6",
      "ms-toolsai.vscode-jupyter-slideshow": "0.1.5",
      "ms-vscode.cmake-tools": "1.13.45",
      "ms-vscode.cpptools-extension-pack": "1.3.0",
      "ms-vscode.cpptools-themes": "2.0.0",
      "ms-vscode.vscode-embedded-tools": "0.6.0",
      "Nash.awesome-flutter-snippets": "4.0.1",
      "notskm.clang-tidy": "0.5.1",
      "PeterHdd.dartgettersetter": "1.0.2",
      "PKief.material-icon-theme": "4.25.0",
      "platformio.platformio-ide": "3.1.0",
      "STMicroelectronics.stm32-vscode-extension": "1.0.0",
      "streetsidesoftware.code-spell-checker": "2.20.0",
      "trond-snekvik.gnu-mapfiles": "1.1.0",
      "twxs.cmake": "0.0.17",
      "vscjava.vscode-gradle": "3.12.6",
      "xaver.clang-format": "1.9.0"
    }
  },
  "tools": {},
  "sdks": [],
  "toolchains": [],
  "connectedDevices": [],
  "deviceProviders": [
    "nrfjprog"
  ],
  "config": {
    "nordic-semiconductor.nrf-connect": {
      "topdir": "${nrf-connect.sdk:2.2.0}",
      "toolchain": {
        "path": "${nrf-connect.toolchain:2.2.0}"
      },
      "ozonePath": "",
      "applications": [
        ".",
        "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_uart",
        "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\remote_controller",
        "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\uart_echo_bot",
        "${workspaceFolder:vert2_ble_fanstel_eval}",
        "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_multi_service",
        "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\Peripheral_Device_Info_Service"
      ],
      "applicationOptions": {},
      "kconfig": {
        "interface": "kconfig",
        "executeInDefaultShell": false
      },
      "welcome": {
        "showOnStartup": false
      },
      "west": {
        "env": {
          "$base": "terminal"
        }
      },
      "boardRoots": [
        "${workspaceFolder:remote_controller}"
      ],
      "enableTelemetry": true,
      "taskBindings": {},
      "debugging": {
        "backend": "nRF Debug",
        "flash": true,
        "bindings": {
          "${workspaceFolder:peripheral_uart}/build_nrf52dk_nrf52832": "Launch peripheral_uart\\build_nrf52dk_nrf52832",
          "${workspaceFolder:vert2_ble_fanstel_eval}/build_ev_bm833": "Launch build_ev_bm833"
        }
      },
      "activeAppFollowActiveEditor": true
    },
    "nordic-semiconductor.nrf-terminal": {
      "terminalMode": "character",
      "scrollBack": 1000
    },
    "marus25.cortex-debug": {
      "armToolchainPath": null,
      "armToolchainPrefix": "arm-none-eabi",
      "gdbPath": null,
      "objdumpPath": null,
      "JLinkGDBServerPath": null,
      "openocdPath": null,
      "pyocdPath": null,
      "PEGDBServerPath": null,
      "stutilPath": null,
      "stlinkPath": null,
      "stm32cubeprogrammer": null,
      "enableTelemetry": true,
      "registerUseNaturalFormat": true,
      "variableUseNaturalFormat": true,
      "dbgServerLogfile": null,
      "showDevDebugOutput": "none"
    }
  },
  "environment": {
    "westExe": "west",
    "westEnv": {
      "ELECTRON_RUN_AS_NODE": "1",
      "HOME": "C:\\Users\\sidpr",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\sidpr",
      "Path": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;"
    },
    "inherited": {
      "ELECTRON_RUN_AS_NODE": "1",
      "HOME": "C:\\Users\\sidpr",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\sidpr",
      "Path": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;",
      "PATH": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;"
    }
  },
  "terminal": {
    "shell": null,
    "defaultProfile": null
  }
}

Please help to resolve this,

Sid

Parents
  • I realized that yesterday I had installed the new STM32Cube extension into VSCode, so I removed that, but still my problem remains.

    Also, I have created a VSCode Profile just for the nRF extension, this profile has all unwanted extensions uninstalled, it also does not find the SDKs, toolchains, or even the path to Ozone! Here is the dump from VSCode again, this time for the nRF profile.

    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.22621",
        "vscode": "1.76.2",
        "electron": "19.1.11",
        "node": "v16.14.2"
      },
      "system": {
        "date": "2023-03-16T21:16:29.739Z",
        "vscodeRoot": "c:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "04:14:06",
        "osUptime": "06:34:32",
        "cpu": {
          "model": "AMD Ryzen 7 PRO 5850U with Radeon Graphics",
          "speed": "1896 MHz",
          "count": 8
        },
        "memory": {
          "total": "63.31 GB",
          "free": "52.44 GB"
        }
      },
      "workspace": {
        "name": "nordic_apps (Workspace)",
        "workspaceFile": "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\nordic_apps.code-workspace",
        "folders": [
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\blinky",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_uart",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\remote_controller",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\uart_echo_bot",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\vert2_ble_fanstel_eval",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_multi_service",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\Peripheral_Device_Info_Service"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2023.2.56",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.2.56-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2022.11.29",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.11.29",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2022.11.153",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2022.11.153",
            "isActive": false
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2022.11.50",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2022.11.50",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": "1.10.0",
          "ms-vscode.cpptools": "1.14.4",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
          "ms-vscode.js-debug": "1.76.1",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.vscode-js-profile-table": "1.0.3",
          "aaron-bond.better-comments": "3.0.2",
          "eamodio.gitlens": "13.3.2",
          "Gruntfuggly.todo-tree": "0.0.224",
          "mcu-debug.debug-tracker-vscode": "0.0.14",
          "mcu-debug.memory-view": "0.0.20",
          "mcu-debug.rtos-views": "0.0.6",
          "mhutchie.git-graph": "1.30.0",
          "ms-vscode.cpptools-extension-pack": "1.3.0",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.vscode-embedded-tools": "0.6.0",
          "notskm.clang-tidy": "0.5.1",
          "PKief.material-icon-theme": "4.25.0",
          "streetsidesoftware.code-spell-checker": "2.20.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "xaver.clang-format": "1.9.0"
        }
      },
      "tools": {},
      "sdks": [],
      "toolchains": [],
      "connectedDevices": [],
      "deviceProviders": [
        "nrfjprog"
      ],
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "${nrf-connect.sdk:2.2.0}",
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.2.0}"
          },
          "ozonePath": "",
          "applications": [
            ".",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_uart",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\remote_controller",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\uart_echo_bot",
            "${workspaceFolder:vert2_ble_fanstel_eval}",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_multi_service",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\Peripheral_Device_Info_Service"
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig",
            "executeInDefaultShell": false
          },
          "welcome": {
            "showOnStartup": false
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [
            "${workspaceFolder:remote_controller}"
          ],
          "enableTelemetry": true,
          "taskBindings": {},
          "debugging": {
            "backend": "nRF Debug",
            "flash": true,
            "bindings": {
              "${workspaceFolder:peripheral_uart}/build_nrf52dk_nrf52832": "Launch peripheral_uart\\build_nrf52dk_nrf52832",
              "${workspaceFolder:vert2_ble_fanstel_eval}/build_ev_bm833": "Launch build_ev_bm833"
            }
          },
          "activeAppFollowActiveEditor": true
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character",
          "scrollBack": 1000
        },
        "marus25.cortex-debug": {
          "armToolchainPath": null,
          "armToolchainPrefix": "arm-none-eabi",
          "gdbPath": null,
          "objdumpPath": null,
          "JLinkGDBServerPath": null,
          "openocdPath": null,
          "pyocdPath": null,
          "PEGDBServerPath": null,
          "stutilPath": null,
          "stlinkPath": null,
          "stm32cubeprogrammer": null,
          "enableTelemetry": true,
          "registerUseNaturalFormat": true,
          "variableUseNaturalFormat": true,
          "dbgServerLogfile": null,
          "showDevDebugOutput": "none"
        }
      },
      "environment": {
        "westExe": "west",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\sidpr",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\sidpr",
          "Path": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\sidpr",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\sidpr",
          "Path": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;",
          "PATH": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;"
        }
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }

    I hope this can be resolved as it puts my nRF project on hold.

    Sid

  • Hi,

    From your output, it seems that you are missing Zephyr and Python entries in the "environment" section. In addition, your "tools", "sdks" and "toolchain" sections are empty.

    Best regards,
    Dejan

  • I have managed to get the extension to recognize the v2.2.0 SDK on the welcome page. However, browsing to the toolchain location and selecting it results in an "Invalid toolchain" message saying JLink is not found. This is odd because under my project "Connected Devices" I see the board/JLink.

    Here is the current support information:

    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.22621",
        "vscode": "1.76.2",
        "electron": "19.1.11",
        "node": "v16.14.2"
      },
      "system": {
        "date": "2023-03-17T17:51:52.763Z",
        "vscodeRoot": "c:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:05:46",
        "osUptime": "04:02:55",
        "cpu": {
          "model": "AMD Ryzen 7 PRO 5850U with Radeon Graphics",
          "speed": "1896 MHz",
          "count": 8
        },
        "memory": {
          "total": "63.31 GB",
          "free": "51.69 GB"
        }
      },
      "workspace": {
        "name": "nordic_apps (Workspace)",
        "workspaceFile": "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\nordic_apps.code-workspace",
        "folders": [
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\blinky",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_uart",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\remote_controller",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\uart_echo_bot",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\vert2_ble_fanstel_eval",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_multi_service",
          "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\Peripheral_Device_Info_Service"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2023.2.56",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.2.56-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2022.11.29",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.11.29",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2022.11.153",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2022.11.153",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2022.11.50",
            "path": "c:\\Users\\sidpr\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2022.11.50",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": "1.10.0",
          "ms-vscode.cpptools": "1.14.4",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
          "ms-vscode.js-debug": "1.76.1",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.vscode-js-profile-table": "1.0.3",
          "aaron-bond.better-comments": "3.0.2",
          "eamodio.gitlens": "13.4.0",
          "Gruntfuggly.todo-tree": "0.0.224",
          "mcu-debug.debug-tracker-vscode": "0.0.14",
          "mcu-debug.memory-view": "0.0.20",
          "mcu-debug.rtos-views": "0.0.6",
          "mhutchie.git-graph": "1.30.0",
          "ms-vscode.cpptools-extension-pack": "1.3.0",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.vscode-embedded-tools": "0.6.0",
          "notskm.clang-tidy": "0.5.1",
          "PKief.material-icon-theme": "4.25.0",
          "streetsidesoftware.code-spell-checker": "2.20.1",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "xaver.clang-format": "1.9.0"
        }
      },
      "tools": {
        "zephyr-sdk": "Not found",
        "nrfjprog": "Not found",
        "nrfutil": "Not found",
        "cmake": "Not found",
        "west": "Not found",
        "python": "Not found",
        "ninja": "Not found",
        "gperf": "Not found",
        "dtc": "Not found",
        "gn": "Not found",
        "git": "Not found",
        "gdbPath": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe"
      },
      "sdks": [],
      "toolchains": [],
      "connectedDevices": [
        {
          "serialNumber": "505002051"
        }
      ],
      "deviceProviders": [
        "nrfjprog"
      ],
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "c:\\ncs\\v2.2.0",
          "toolchain": {
            "path": "c:\\ncs\\toolchains\\v2.2.0"
          },
          "ozonePath": "",
          "applications": [
            ".",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_uart",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\remote_controller",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\uart_echo_bot",
            "${workspaceFolder:vert2_ble_fanstel_eval}",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\peripheral_multi_service",
            "d:\\DataRoot\\Projects\\Equla\\Nordic_Apps\\Peripheral_Device_Info_Service"
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig",
            "executeInDefaultShell": false
          },
          "welcome": {
            "showOnStartup": false
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [
            "${workspaceFolder:remote_controller}"
          ],
          "enableTelemetry": true,
          "taskBindings": {},
          "debugging": {
            "backend": "nRF Debug",
            "flash": true,
            "bindings": {
              "${workspaceFolder:peripheral_uart}/build_nrf52dk_nrf52832": "Launch peripheral_uart\\build_nrf52dk_nrf52832",
              "${workspaceFolder:vert2_ble_fanstel_eval}/build_ev_bm833": "Launch build_ev_bm833"
            }
          },
          "activeAppFollowActiveEditor": true
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character",
          "scrollBack": 1000
        },
        "marus25.cortex-debug": {
          "armToolchainPath": null,
          "armToolchainPrefix": "arm-none-eabi",
          "gdbPath": null,
          "objdumpPath": null,
          "JLinkGDBServerPath": null,
          "openocdPath": null,
          "pyocdPath": null,
          "PEGDBServerPath": null,
          "stutilPath": null,
          "stlinkPath": null,
          "stm32cubeprogrammer": null,
          "enableTelemetry": true,
          "registerUseNaturalFormat": true,
          "variableUseNaturalFormat": true,
          "dbgServerLogfile": null,
          "showDevDebugOutput": "none"
        }
      },
      "environment": {
        "westExe": "west",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\sidpr",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\sidpr",
          "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;%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;",
          "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\\sidpr",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\sidpr",
          "Path": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;",
          "PATH": "%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;%SYSTEMROOT%\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\gcc-arm\\bin;C:\\gcc-arm\\arm-none-eabi\\bin;C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;C:\\Program Files\\Microchip\\xc8\\v2.36\\bin;C:\\Program Files\\VanDyke Software\\SecureCRT\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\flutter\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\CMake\\bin;C:\\Program Files\\010 Editor;C:\\ST\\STM32CubeCLT;C:\\ST\\STM32CubeCLT\\STM32CubeProgrammer\\bin;C:\\ST\\STM32CubeCLT\\STLink-gdb-server\\bin;C:\\ST\\STM32CubeCLT\\GNU-tools-for-STM32\\bin;C:\\Program Files (x86)\\STMicroelectronics\\stlink_server;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\sidpr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\sidpr\\AppData\\Local\\gitkraken\\bin;C:\\Users\\sidpr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\sidpr\\.dotnet\\tools;C:\\Windows\\SysWOW64\\wbem;"
        },
        "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
      }
    }

    Note that, in spite of being installed, all the "tool" entries are missing.

    Sid

  • Hi,

    How did you install SDK and Toolchain?

    It seems that your Toolchain is not properly installed. If you have the possibility, you could do fresh install as described in automatic and manual installation documentation.

    Best regards,
    Dejan

  • As I wrote in my initial post:

    After working with the VSCode extension for a few weeks now I find the extension no longer thinks the SDKs or Toolchains I was using are installed.

    After manually making some changes to the settings files I finally have the extension working again.

    This experience is concerning, it seems that support from Nordic for the extension is not great. I did not receive any real help at all, resulting in the loss of several days on the project. The extension is a very good addition to the nRF toolchains; however, it is vital that when getting support, the very least that happens is that the details presented are read.

    Hoping for a brighter future for nRF Connect for VSCode.

    Sid

  • Hi,

    SidPrice said:
    After manually making some changes to the settings files I finally have the extension working again.

    Could you please specify the configuration changes you made?

    SidPrice said:
    This experience is concerning, it seems that support from Nordic for the extension is not great. I did not receive any real help at all, resulting in the loss of several days on the project. The extension is a very good addition to the nRF toolchains; however, it is vital that when getting support, the very least that happens is that the details presented are read.

    Thank you for your feedback. We will try to improve and make your future experience better.

    Best regards,
    Dejan

  • Hi Dejan,

    I am sorry I made quite a few changes in the VSCode settings file and I don't remember all the actions I took. I do remember having to add the Segger JLink folder to my PATH. I do not remember this being required before, and as I said the extension has been working for a few weeks prior to this failure.

    Thanks again for you help.

    Sid

Reply Children
  • Hi Sid,

    SidPrice said:

    I am sorry I made quite a few changes in the VSCode settings file and I don't remember all the actions I took. I do remember having to add the Segger JLink folder to my PATH. I do not remember this being required before, and as I said the extension has been working for a few weeks prior to this failure.

    Thanks again for you help.

    Thank you for your reply and provided information.

    Best regards,
    Dejan

Related