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?
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?
I know this is a small difference, but have you tried installing the package with "dpkg -i
" instead of "apt install
"? Maybe some odd repo dependency is interfering, although that would be an oddity.
Also, have you run "nm -D" to check that the function symbol actually exists:
$ nm -D /opt/nrf-command-line-tools/lib/libnrfjprogdll.so | grep read_cpu_arch
000000000020ed50 T NRFJPROG_read_cpu_architecture_inst
Hope you figure this out!
Hey... have you tried downgrading to Command Line Tools 10.17?
Yeah, "dpkg -i" was my first choice for install, but the problem was the same, apt is may second try.
About the "nm -D" command, the symbol not exists,I also tried ldd command and everything seems to be ok, but some function is calling it, I just try to run "nrfjprog --version", but thanks for the help, I will try reinstall or downgrade.
Hi,
Did you install the J-Link Software and Documentation Pack well as nRF Command Line Tools?
(The reference to dll is a bit odd but not an issue, and this comes from SEGGER. I is obviously not a DLL on Linux, but they call their shared library files DLL on all platforms for some reason.)
Yeah, that not solve my problem.
Hey... have you tried downgrading to Command Line Tools 10.17?
That worked for me, but I have to install J-Link Software and Documentation Pack also. Thanks.
Hey... have you tried downgrading to Command Line Tools 10.17?
That worked for me, but I have to install J-Link Software and Documentation Pack also. Thanks.