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?
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?
Hi,
Looking at the error it seems the issue is that nrfjprog is not in the path. Have you installed nRF Command Line Tools and ensured that you have nrfjprog in your path? This must be done separately even if you use the toolchain manager.
Hi Einar,
I already installed via nrf-command-line-tools_10.16.0_amd64.deb package.And also tried *.rpm too. nrfjprog is already located in /opt/nrf-command-line-tools/bin/ and it is executable.
Have you added it (/opt/nrf-command-line-tools/bin/
) to your path? You can check with echo $PATH
, or simply see if typing nrfjprog in your terminal works. If it does not, you need to add it. Exactly how depend a bit on which shell and Linux distro you are using (not sure about Pardus).
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?