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

  • It is only displayed when I do browse. Itis does not show any options before I do browse at all. 

    Yes, what settings do you need and how can I do it?

  • I have tried lots of variants in the settings

    In the settings on my other laptop which works without issues settings are set to ${nrf-connect.toolchain:2.3.0} and ${nrf-connect.sdk:2.3.0} respectively. 

    I have been tried copying the settings.json from the working laptop

  • 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.

Related