nRF Connect Extension for VS Code Unable to run most commands

While following the "nRF Connect SDK Fundamentals" tutorial, my nRF Connect extension fails on the "Install Toolchain" step with error command 'nrf-connect.installToolchain' not found. I'm able to circumvent for now by using nRF Connect for Desktop and installing the toolchain with its Toolchain Manager, but still troubling that none of the commands seem to work directly from the VS Code nRF Connect extension. Nearly all nRF Connect commands similarly fail from VS Code including "Install SDK", "Manage Toolchains", "Check nRF Command Line Tools Update".

Any help to resolve would be greatly appreciated!

My setup:

  • Windows 10 64bit PC
  • VS Code v1.86.1
  • nRF Connect for VS Code Extension pack v2023.11.3
  • nRF Command Line tools v10.24.0
Parents Reply
  • Thank you, Priyanka! I uninstalled Jlink and removed the entry in the windows registry. I then reinstalled VS Code and it was able to install the toolchain and SDK from VS Code. I think the setup steps for VS Code in Lesson 1 of "nRF Connect SDK Fundamentals" in the DevAcademy may be a bit outdated. Even if using an older nRF SDK version (before 2.0.0), it seems to still be better to follow the v2.x.x steps. I'm using 1.9.1 and following the steps of manually installing the supporting software seems to be the root of what caused all the problems with my nRF Connect for VS Code extension. I'll also note that installing nRF Command Line tools is supposed to automatically install SEGGER tools on Windows PCs but that was not the case for me. I had to manually install SEGGER tools separately. 

Children
  • Hi Travis,

    Glad to hear that you are able to install now. I will pass this onto the team.

    teedoubleyuh said:
    following the steps of manually installing the supporting software seems to be the root of what caused all the problems with my nRF Connect for VS Code extension

    This could be a cause, and we also recommend automatic installation over the manual installation.

    Regards,

    Priyanka

Related