nRF Connect SDK Quick Setup Failure

Hi,


I am having an issue with setting up the nRF Connect for VS Code

I have installed the following apps step-by-step as mentioned in the Nordic Installation Guide:

  • nRF Command Line Tools 10.21.0
  • nRF Connect 4.0.1
  • VS Code 1.78.0
  • nRF Connect SDK 2.3.0 incl. toolchain. 
  • SEGGER JLink 7.80

When trying to setup nRF Connect SDK it gives me an error message: 

       Invalid toolchain installation.

  • jlink is required but not found. Please ensure that SEGGER J-Link Software and Documentation Pack is installed

Toolchain invalid

Looks like it doesn't see the toolchain in the folder. Toolchain and the SDK is in the folder. I have even tried full uninstallation and tried to install a fresh copy, but with no luck.

In the Environment Variables I have got the following:

User Variables for Jev

Path 

  • C:\Users\Jev\AppData\Local\Programs\Microsoft VS Code\bin
  • C:\Program Files\SEGGER\JLink
  • ... other non-related paths

System Variables

Path 

  • C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\


An interesting fact is that I have got exactly the same configuration on another laptop and have no issues at all. This PC that fails had a previously installed nRF SDK that failed to use SEGGER J-Link for programming and nRF Connect was completely reinstalled. 

Thanks,
Jev

Parents Reply Children
  • The settings file says that you have modified the toolchain path in the current workspace, can you share the *.code-workspace file and it's path? 

  • I have modified it after it failed in trying to get it working by typing in the toolchain and SDK paths manually but with no luck. 

    Are you talking about the following ones? 

    {
    	"folders": [
    		{
    			"path": "C:/Nordic/MyApps"
    		}
    	],
    	"settings": {
    		"nrf-connect.toolchain.path": "c:\\NordicSemi\\toolchains\\v2.3.0"
    	}
    }

    Path for the workspace Settings:

    C:\Users\Jev\AppData\Roaming\Code\Workspaces\1683734868683

    {
        "nrf-connect.welcome.showOnStartup": true,
        "nrf-connect.enableTelemetry": true,
        "nrf-connect.toolchain.path": "C:\\NordicSemi\\toolchains\\v2.3.0",
        "nrf-connect.topdir": "C:\\NordicSemi\\v2.3.0"
    }

    Path for the User Settings:

    C:\Users\Jev\AppData\Roaming\Code\User

  • Hmm. I don't see anything obviously wrong.

    Try copying this workspace file into "C:\\NordicSemi\\v2.3.0", then in VS Code you go to 'File' -> 'Open Workspace from File" and choose "C:\\NordicSemi\\v2.3.0\\v2.3.0.code-workspace". After that you can try to verify the toolchain via the nRF plugin's welcome page.

    0317.v2.3.0.zip

    PS: unzip first.

  • Complete, that is what I now got instead. It is not giving to select at all.

  • Hi,

    Håkon is out of office.

    Jev said:
    It is not giving to select at all

    This is the intended behavior. If you have a west workspace open, it will automatically select the SDK version of the open workspace.

    Are you also having issues with selecting toolchain after making these changes?

    Best regards,
    Marte

Related