Unable to install toolchain and SDK from NRF Connect for VS Code

I was somehow able to work with the previous toolchain version (v2.7.0) but my application development needed an update to v2.8.0. I had previously been facing issues in installing the toolchain but it got fixed after a lot of attempts. 

The issue is that when i try to install any toolchain version from the nrf Connect VS code extension, The extension downloads the toolchain, installs it and updates everything until the very end. But exits with an error which breaks the whole installation and the same happens with the SDK installation.

Parents
  • Hello, 

    Can you please provide the support information from calling "generate support information"? 

    Are you able to build standard samples from v2.8.0?

    Thanks. 

    Kind regards,
    Øyvind

  • No, I havent tried to build samples because the SDK isnt being recognized in the extension. So i cant 'select' any samples from the menu. I can try to run some sample from the terminal if that is what you are asking.

    Please find the support information below:

    // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.

    // For help and support, visit Nordic Semiconductor's DevZone at devzone.nordicsemi.com/.

    {
    "platform": {
    "os": "darwin",
    "osVersion": "Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:25 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6030",
    "osKernel": "24.0.0",
    "vscode": "1.96.2",
    "electron": "32.2.6",
    "node": "v20.18.1"
    },
    "system": {
    "date": "2024-12-27T19:07:41.888Z",
    "vscodeRoot": "/Applications/Visual Studio Code.app/Contents/Resources/app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "09:46:44",
    "osUptime": "1644:36:37",
    "cpu": "Apple M3 Pro"
    },
    "workspace": {
    "name": null,
    "workspaceFile": null,
    "folders": []
    },
    "sdks": [],
    "apps": [],
    "toolchains": [
    {
    "version": "0.16.8",
    "path": "/Users/SNJY/zephyr-sdk-0.16.8"
    }
    ],
    "connectedDevices": [
    {
    "serialNumber": "001050177264"
    }
    ],
    "tools": {
    "/Users/SNJY/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.16.8 (arm64)",
    "/Applications/SEGGER/JLink/JLinkExe": "7.94i (x64,arm64)",
    "/usr/local/bin/nrfjprog": "10.24.2 (x64,arm64)",
    "/usr/local/bin/nrfutil": "7.12.0 (arm64)",
    "/opt/homebrew/bin/cmake": "3.31.3 (arm64)",
    "/opt/homebrew/bin/west": "1.3.0",
    "/opt/homebrew/bin/python3": "3.13.1 (arm64)",
    "/opt/homebrew/bin/ninja": "1.12.1 (arm64)",
    "/opt/homebrew/bin/gperf": "3.1 (arm64)",
    "/opt/homebrew/bin/dtc": "1.7.2 (arm64)",
    "/opt/homebrew/bin/git": "2.47.0 (arm64)",
    "arm-gdbPath": "not found",
    "riscv-gdbPath": "not found"
    },
    "nrfutil": {
    "nrfutil-device": {
    "version": "2.7.2",
    "binPath": "/Users/SNJY/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.12.55-darwin-arm64/platform/nrfutil/bin/nrfutil-device",
    "jlinkInfo": {
    "name": "JlinkARM",
    "version": "JLink_V7.94i",
    "versionFormat": "string"
    }
    },
    "nrfutil-toolchain-manager": {
    "version": "0.14.4",
    "binPath": "/Users/SNJY/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.12.55-darwin-arm64/platform/nrfutil/bin/nrfutil-toolchain-manager"
    }
    },
    "environment": {
    "westEnv": {
    "HOME": "/Users/SNJY",
    "PATH": "/Users/SNJY/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin:/Users/SNJY/zephyr-sdk-0.16.8/riscv-zephyr-eabi/bin:/opt/homebrew/opt/python/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/SNJY/.cargo/bin",
    "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
    "USER": "SNJY"
    },
    "inherited": {
    "ELECTRON_RUN_AS_NODE": "1",
    "HOME": "/Users/SNJY",
    "PATH": "/opt/homebrew/opt/python/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/SNJY/.cargo/bin",
    "USER": "SNJY"
    }
    },
    "terminal": {
    "defaultProfile": null
    },
    "config": {
    "nordic-semiconductor.nrf-connect": {
    "topdir": "",
    "toolchain": {
    "path": "${nrf-connect.toolchain:2.7.0}"
    },
    "ozonePath": "",
    "applications": [],
    "applicationOptions": {},
    "kconfig": {
    "interface": "kconfig"
    },
    "west": {
    "env": {
    "$base": "terminal"
    }
    },
    "boardRoots": [],
    "taskBindings": {},
    "buildTerminal": {
    "condensedProgress": true
    },
    "debugging": {
    "flash": true,
    "bindings": {},
    "justMyCode": false
    },
    "activeAppFollowActiveEditor": true,
    "flash": {
    "softreset": false,
    "erase": false,
    "recover": false
    },
    "enableTelemetry": true,
    "thirdpartyIntegration": {},
    "toolchainManager": {
    "indexURL": null,
    "installDirectory": ""
    },
    "nrfutil": {
    "home": null
    },
    "defaultOpenAction": "ask",
    "terminalProfile": {
    "shell": null
    }
    }
    },
    "extensions": {
    "internal": {
    "nordic-semiconductor.nrf-connect": {
    "version": "2024.12.55",
    "path": "/Users/SNJY/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.12.55-darwin-arm64",
    "isActive": true
    },
    "nordic-semiconductor.nrf-terminal": null,
    "nordic-semiconductor.nrf-devicetree": null,
    "nordic-semiconductor.nrf-kconfig": null
    },
    "external": {
    "marus25.cortex-debug": null,
    "ms-vscode.cpptools": null,
    "ms-vscode.js-debug": "1.96.0",
    "ms-vscode.js-debug-companion": "1.1.3",
    "ms-vscode.vscode-js-profile-table": "1.0.10",
    "jebbs.plantuml": "2.18.1",
    "ms-python.debugpy": "2024.14.0",
    "ms-python.python": "2024.22.1",
    "ms-python.vscode-pylance": "2024.12.1",
    "ms-vscode-remote.remote-ssh": "0.116.1",
    "ms-vscode-remote.remote-ssh-edit": "0.87.0",
    "ms-vscode.cpptools-extension-pack": "1.3.0",
    "ms-vscode.cpptools-themes": "2.0.0",
    "ms-vscode.remote-explorer": "0.4.3",
    "mshr-h.veriloghdl": "1.15.5",
    "rust-lang.rust-analyzer": "0.3.2228"
    }
    }
    }

Reply
  • No, I havent tried to build samples because the SDK isnt being recognized in the extension. So i cant 'select' any samples from the menu. I can try to run some sample from the terminal if that is what you are asking.

    Please find the support information below:

    // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.

    // For help and support, visit Nordic Semiconductor's DevZone at devzone.nordicsemi.com/.

    {
    "platform": {
    "os": "darwin",
    "osVersion": "Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:25 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6030",
    "osKernel": "24.0.0",
    "vscode": "1.96.2",
    "electron": "32.2.6",
    "node": "v20.18.1"
    },
    "system": {
    "date": "2024-12-27T19:07:41.888Z",
    "vscodeRoot": "/Applications/Visual Studio Code.app/Contents/Resources/app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "09:46:44",
    "osUptime": "1644:36:37",
    "cpu": "Apple M3 Pro"
    },
    "workspace": {
    "name": null,
    "workspaceFile": null,
    "folders": []
    },
    "sdks": [],
    "apps": [],
    "toolchains": [
    {
    "version": "0.16.8",
    "path": "/Users/SNJY/zephyr-sdk-0.16.8"
    }
    ],
    "connectedDevices": [
    {
    "serialNumber": "001050177264"
    }
    ],
    "tools": {
    "/Users/SNJY/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.16.8 (arm64)",
    "/Applications/SEGGER/JLink/JLinkExe": "7.94i (x64,arm64)",
    "/usr/local/bin/nrfjprog": "10.24.2 (x64,arm64)",
    "/usr/local/bin/nrfutil": "7.12.0 (arm64)",
    "/opt/homebrew/bin/cmake": "3.31.3 (arm64)",
    "/opt/homebrew/bin/west": "1.3.0",
    "/opt/homebrew/bin/python3": "3.13.1 (arm64)",
    "/opt/homebrew/bin/ninja": "1.12.1 (arm64)",
    "/opt/homebrew/bin/gperf": "3.1 (arm64)",
    "/opt/homebrew/bin/dtc": "1.7.2 (arm64)",
    "/opt/homebrew/bin/git": "2.47.0 (arm64)",
    "arm-gdbPath": "not found",
    "riscv-gdbPath": "not found"
    },
    "nrfutil": {
    "nrfutil-device": {
    "version": "2.7.2",
    "binPath": "/Users/SNJY/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.12.55-darwin-arm64/platform/nrfutil/bin/nrfutil-device",
    "jlinkInfo": {
    "name": "JlinkARM",
    "version": "JLink_V7.94i",
    "versionFormat": "string"
    }
    },
    "nrfutil-toolchain-manager": {
    "version": "0.14.4",
    "binPath": "/Users/SNJY/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.12.55-darwin-arm64/platform/nrfutil/bin/nrfutil-toolchain-manager"
    }
    },
    "environment": {
    "westEnv": {
    "HOME": "/Users/SNJY",
    "PATH": "/Users/SNJY/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin:/Users/SNJY/zephyr-sdk-0.16.8/riscv-zephyr-eabi/bin:/opt/homebrew/opt/python/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/SNJY/.cargo/bin",
    "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
    "USER": "SNJY"
    },
    "inherited": {
    "ELECTRON_RUN_AS_NODE": "1",
    "HOME": "/Users/SNJY",
    "PATH": "/opt/homebrew/opt/python/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/SNJY/.cargo/bin",
    "USER": "SNJY"
    }
    },
    "terminal": {
    "defaultProfile": null
    },
    "config": {
    "nordic-semiconductor.nrf-connect": {
    "topdir": "",
    "toolchain": {
    "path": "${nrf-connect.toolchain:2.7.0}"
    },
    "ozonePath": "",
    "applications": [],
    "applicationOptions": {},
    "kconfig": {
    "interface": "kconfig"
    },
    "west": {
    "env": {
    "$base": "terminal"
    }
    },
    "boardRoots": [],
    "taskBindings": {},
    "buildTerminal": {
    "condensedProgress": true
    },
    "debugging": {
    "flash": true,
    "bindings": {},
    "justMyCode": false
    },
    "activeAppFollowActiveEditor": true,
    "flash": {
    "softreset": false,
    "erase": false,
    "recover": false
    },
    "enableTelemetry": true,
    "thirdpartyIntegration": {},
    "toolchainManager": {
    "indexURL": null,
    "installDirectory": ""
    },
    "nrfutil": {
    "home": null
    },
    "defaultOpenAction": "ask",
    "terminalProfile": {
    "shell": null
    }
    }
    },
    "extensions": {
    "internal": {
    "nordic-semiconductor.nrf-connect": {
    "version": "2024.12.55",
    "path": "/Users/SNJY/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.12.55-darwin-arm64",
    "isActive": true
    },
    "nordic-semiconductor.nrf-terminal": null,
    "nordic-semiconductor.nrf-devicetree": null,
    "nordic-semiconductor.nrf-kconfig": null
    },
    "external": {
    "marus25.cortex-debug": null,
    "ms-vscode.cpptools": null,
    "ms-vscode.js-debug": "1.96.0",
    "ms-vscode.js-debug-companion": "1.1.3",
    "ms-vscode.vscode-js-profile-table": "1.0.10",
    "jebbs.plantuml": "2.18.1",
    "ms-python.debugpy": "2024.14.0",
    "ms-python.python": "2024.22.1",
    "ms-python.vscode-pylance": "2024.12.1",
    "ms-vscode-remote.remote-ssh": "0.116.1",
    "ms-vscode-remote.remote-ssh-edit": "0.87.0",
    "ms-vscode.cpptools-extension-pack": "1.3.0",
    "ms-vscode.cpptools-themes": "2.0.0",
    "ms-vscode.remote-explorer": "0.4.3",
    "mshr-h.veriloghdl": "1.15.5",
    "rust-lang.rust-analyzer": "0.3.2228"
    }
    }
    }

Children
Related