VS Code SDK install failure

Have tried several times to install the SDK into VS code without success. This is one of the errors I am getting:

Failed to register SDK installation: west failed with code -4058 (cmd 'west zephyr-export) (cwd 'd:\ncs\v3.3.0'):
The SDK will not be detected by VSCode before the CMake Package Registry is corrected for the Zephyr package: d:\ncs\v3.3.0
[11:17:50] Unable to find the toolchain at path:  C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
[11:17:50] Unable to find the toolchain at path:  C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
I also tried reinstalling without success. Do I need to stall more than "nRF Connect for VS Code Extension Pack  v2025.4.4" before installing the SDK? 
  • Same error code for me.  Fresh install on Windows 11.  Installed vscode, then tried to install nRF Connect SDK.


    Output below:

    [14:02:06] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Checking downloads for v3.4.0
    [14:02:06] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Download toolchain v3.4.0
    [14:06:00] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Toolchain downloaded: success
    [14:06:00] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Unpack toolchain v3.4.0
    [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Toolchain unpacked to C:\ncs\tmp\.tmp8ZRnIk: success
    [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Install toolchain v3.4.0
    [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Toolchain installed at C:\ncs\toolchains\dcbdc366a1: success
    [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Download SDK v3.4.0
    [14:17:30] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Result: success
    [14:17:30] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Calculating SDK checksum
    [14:17:34] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Verified download: success
    [14:17:34] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Unpack SDK v3.4.0
    [14:19:48] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Unpacked SDK tarball: success
     
    [west]: exited with code -4058.
     
    Failed to register SDK installation: west failed with code -4058 (cmd 'west zephyr-export) (cwd 'c:\ncs\v3.4.0'):
    The SDK will not be detected by VSCode before the CMake Package Registry is corrected for the Zephyr package: c:\ncs\v3.4.0

     

Related