Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

VS Code & nrfjprog (nRF Connect SDK) problem on Linux

Hi,

I get the error like below on the Linux XFCE 64-bit platform (Pardus 21.2 distro latest version). It works fine on Windows but having a problem on linux. How can I solve it?

Parents
  • I'm encountering something similar...
    I have tried both using "PATH" (I set PATH=$PATH:/opt/nrf-command-line-tools/bin before executing code.) and specifying "/opt/nrf-command-line-tools/bin" when specifying toolchain.

    1: Using PATH (with the toolchain already in the PATH env variable) will give "nrfjprog is required" error
    2: Using "/opt/nrf-command-line-tools/bin" it will give an "Invalid Toolchain Installation." without an explanation.
    3: If I run the tools from the command line, they will execute as expected.

  • Which platform are you using? If you use the latest nRF Command Line Tools you should automatically get it in your path, as a symlink should be created in /usr/local/bin/, an din that case there is no need to add it to your path in any other way (assuming /usr/local/bin is in the path from before, which it should normally always be).

    If this does not work, can you show what you PATH looks like without any additional configuration, and also let me know which Linux distro you are using?

Reply
  • Which platform are you using? If you use the latest nRF Command Line Tools you should automatically get it in your path, as a symlink should be created in /usr/local/bin/, an din that case there is no need to add it to your path in any other way (assuming /usr/local/bin is in the path from before, which it should normally always be).

    If this does not work, can you show what you PATH looks like without any additional configuration, and also let me know which Linux distro you are using?

Children
Related