After installing SDK 2.7 I am unable to get nRF Connect SDK to function in VS Code.

After I installed nRF Connect SDK 2.7 and tried to run the pre-release version of VS Code extension, I am now compleatly unable to make nRF Connect for VS Code function. 

When using the menu to select toolchains, I get nothing to select installed SDK or toolchain. I see an error dispolayed by VS Code "command 'nrf-connect.mangeWestWorkspace' not found" or "command 'nrf-connect.mangeToolchains' not found".

I have uninstalled everything two times (both VS Code extensions (all) and the SDK and reinstalled again. One time from within VS Code extension and one time through the nRF Connect for Desktop Toolchain Manager.

None of the reinstallation have brought my installation back to a functional state.

I am sure it is a simple thing, but I do not know where to look....

  • Not sure how long it is supposed to be running, but I have "Generating support information..." window shown for some minutes now....

    Edit: Still running after 11 minutes so I assume it is not functional.

    Edit: Tried again without any open project, just in case. Same result the Generating support information does not work.

  • Hello,

    Usually, it doesn't take much time (less than 1 minute) to generate support information. Can you try using View --> Command Palette --> Generate Support Information (see my screenshot below)? If that doesn't work, open the developer tools, look at the console, and share the output here. A screenshot would be helpful.

    Kind Regards,

    Abhijith

  • It is nearly working now. The Generate Support Information that takes only a few seconds and is functional. The story:

    I uninstalled all nrf tools from VS Code and also other extension related.

    Then I uninstalled VS Code. Rebooting several times between steps.

    I uninstalled all tools from nrf connect for desktop an finally nrf connect for desktop itself.

    I also deleted all nrf / nordic stuff I could find on my computer.

    I reinstalled VS code and strangely enough nrf Connect was available and not uninstalled anymore.... Not functional, only a button saying "Install Toolchain" and the button did not work.

    So back to installing nrf connect for desktop an installed toolchain manager. After that installed toolchain and sdk 2.6.1..

    Hopes are high and I create and application from a sample and the application was able to build for a DK.

    Sadly enough, the last step killed my good mood. When trying to debug the application I got a FATAL ERROR: required program nrfprog not found...... Hope I can solve that tomorrow or later today.

    (I did install command line tools when asked to do so from nrf connect for desktop)

  • After a reboot the programmer also works and I can debug the application... :-)

    Do I dare installing 2.7 ......

  • Hello,

    I’m glad to hear that it’s finally working for you. I know how frustrating it can be when an installation causes so many issues. I apologize for the inconvenience this has caused.

    Kind regards,

    Abhijith

Related