nRF Connect for VS Code toolchain cannot find jlink

Hello, I am trying to set up nRF Connect for VS Code.

I have followed the instructions in Nordic's tutorial for setting up nRF Connect for VS Code here: https://www.youtube.com/watch?v=EAJdOqsL9m8

The only exception is that I already had jlink (v9.4f) installed directly from Segger, so the nRF Command Line Tools (v10.23.4) installer didn't need to install jlink as well. As far as I can tell, everything is the latest version. Both the toolchain and nRF Connect SDK are v2.5.1. VS Code doesn't have any available updates. The nRF Connect for VS Code extension is v2023.11.301 (the extension pack is v2023.11.3).

The problem I'm experiencing that doesn't seem to occur in that instruction video is that my toolchain fails to validate because it cannot find jlink. jlink is located at C:\Users\ejfis\SEGGER\JLink_V794f

Here's a screenshot of the error message: 


I tried removing my jlink install and uninstalling the nRF Command Line Tools, and then reinstalling the nRF Command Line Tools in hopes that the nRF Command Line Tools installer would not find jlink and initiate the jlink installer, but that did not work. 

Any ideas?

Parents Reply Children
  • Hello, 

    How did you remove the JLink install

    I just deleted that SEGGER directory since the Windows control panel couldn't find any JLink apps to uninstall in "Add or Remove Programs."

    What happens when you try to install JLink to e.g. C:\Program Files\Segger? 

    If I run the installer and specify the install location to C:\Program Files\Segger there are no problems.

    It appears the issue was that I had told the installer to install JLink for "this user only" which stuck it in my user directory, which wasn't a problem for nRF Connect for Desktop but I guess the nRF Connect for VS Code Toolchain wouldn't/couldn't look in there for JLink. 

    Thanks for the help!

Related