<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VS Code &amp;amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89642/vs-code-nrfjprog-nrf-connect-sdk-problem-on-linux</link><description>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?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Oct 2022 04:42:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89642/vs-code-nrfjprog-nrf-connect-sdk-problem-on-linux" /><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390735?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 04:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a82954f-d842-4d1b-8c1d-40735ebd9c02</guid><dc:creator>EdAtm021</dc:creator><description>[quote userid="120040" url="~/f/nordic-q-a/89642/vs-code-nrfjprog-nrf-connect-sdk-problem-on-linux/390680"]Hey... have you tried downgrading to Command Line Tools 10.17?&amp;nbsp;[/quote]
&lt;p&gt;That worked for me, but I have to install&amp;nbsp;&lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt; J-Link Software and Documentation Pack&lt;/a&gt;&amp;nbsp;also. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390734?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 04:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8434d352-8005-49eb-9cb9-95534948b96e</guid><dc:creator>EdAtm021</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/89642/vs-code-nrfjprog-nrf-connect-sdk-problem-on-linux/390358"]&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you install the &lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;J-Link Software and Documentation Pack&lt;/a&gt;&amp;nbsp;well as nRF Command Line Tools?&lt;/p&gt;
&lt;p&gt;(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.)&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yeah, that not solve my problem.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390730?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 04:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dbdccfd-58a2-457f-b38f-a335b7d770ff</guid><dc:creator>EdAtm021</dc:creator><description>&lt;p&gt;Yeah, &amp;quot;dpkg -i&amp;quot; was my first choice for install, but the problem was the same, apt is may second try.&amp;nbsp;&lt;br /&gt;About the &amp;quot;nm -D&amp;quot; command, the symbol not exists,I also tried&amp;nbsp;ldd command and everything seems to be ok, but some function is calling it, I just try to run &amp;quot;nrfjprog --version&amp;quot;, but thanks for the help, I will try reinstall or downgrade.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390680?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 14:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fda2f910-46a3-4180-acf2-caeb73ab7ef3</guid><dc:creator>Account01</dc:creator><description>&lt;p&gt;Hey... have you tried downgrading to Command Line Tools 10.17?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390497?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 15:22:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0951ac9-a5c2-414d-9099-37cd090abcbe</guid><dc:creator>Account01</dc:creator><description>&lt;p&gt;I know this is a small difference, but have you tried installing the package with &amp;quot;&lt;code&gt;dpkg -i&lt;/code&gt;&amp;quot; instead of &amp;quot;&lt;code&gt;apt install&lt;/code&gt;&amp;quot;? Maybe some odd repo dependency is interfering, although that would be an oddity.&lt;/p&gt;
&lt;p&gt;Also, have you run &amp;quot;nm -D&amp;quot; to check that the function symbol actually exists:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ nm -D /opt/nrf-command-line-tools/lib/libnrfjprogdll.so | grep read_cpu_arch&lt;br /&gt;000000000020ed50 T NRFJPROG_read_cpu_architecture_inst&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hope you figure this out!&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390358?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 07:09:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9f15bb9-7166-47df-af97-d2c5fc8e4f84</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you install the &lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;J-Link Software and Documentation Pack&lt;/a&gt;&amp;nbsp;well as nRF Command Line Tools?&lt;/p&gt;
&lt;p&gt;(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.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/390348?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 03:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8912c28b-5ef5-4572-b250-8c2023e60c70</guid><dc:creator>EdAtm021</dc:creator><description>&lt;p&gt;&lt;span&gt;Same issue here, running in x86_64 Ubuntu 20.04. That&amp;#39;s not a PATH issue, I have two paths to nrfjprog in my PATH, neither works. And I have installed the last version using &amp;#39;apt install ./nrf-command-line-tools_10.18.0_amd64.deb&amp;#39;, To me, it seems like the build&amp;nbsp;&lt;/span&gt;&lt;span&gt;for&amp;nbsp;&lt;/span&gt;&lt;span&gt;nrf-command-line-tools_10.18.0_amd64.deb&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;is broken, if we run nrfjprog the output is an error,&amp;nbsp;&lt;/span&gt;&lt;strong&gt;trying to execute a dll&lt;/strong&gt;&lt;span&gt;, it&amp;#39;s very strange seeing that under&amp;nbsp;UNIX universe, I expected a shared-object or shared-library, not a dll.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2022_2D00_10_2D00_12-00_2D00_08_2D00_44.png" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/389087?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 20:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f10d6705-279e-4f30-bd5b-ca9bc8a666eb</guid><dc:creator>Account01</dc:creator><description>&lt;p&gt;I may have found the answer. &lt;br /&gt;VS Code may HAVE FOUND &lt;code&gt;nrfjprog&lt;/code&gt;, but it tried running &lt;code&gt;--version&lt;/code&gt; flag in order to determine the version number, and it caused the following to appear in its input buffer:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[error]: [SeggerBackend] - Error in dlopen: libjlinkarm.so: cannot open shared object file: No such file or directory&lt;br /&gt;[error]: [SeggerBackend] - Dll failed to open.&lt;br /&gt;ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please&lt;br /&gt;ERROR: reinstall latest JLinkARM from Segger webpage.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This causes it to return an error that assumed that &lt;code&gt;nrfjprog&lt;/code&gt; wasn&amp;#39;t installed in $&lt;code&gt;PATH&lt;/code&gt;, which is the default assumption. Actually it was missing a shared object library that needed to be installed, which made it malfunction.&lt;/p&gt;
&lt;p&gt;My solution was to download and install &lt;a href="https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack"&gt;Segger&amp;#39;s JLink package&lt;/a&gt;, and then I ran:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;code&gt;sudo dpkg -i JLink_Linux_*Version*_*platform*.deb&amp;quot; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;...&lt;code&gt;&lt;/code&gt;and that seemed to make VS Code (or the nRF plugin) happy.&amp;nbsp;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/388832?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 18:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:547fa5fb-220b-4da1-ad29-fac7eeb08d8b</guid><dc:creator>Account01</dc:creator><description>&lt;p&gt;Sure. I&amp;#39;m running x86_64 Ubuntu 20.04, and my PATH shows as:&lt;/p&gt;
&lt;p&gt;/home/*user*/bin:/home/*user*/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/*user*/go/bin&lt;/p&gt;
&lt;p&gt;When I run &amp;quot;which nrfjprog&amp;quot; without setting environment variables, it returns, &amp;quot;/usr/local/bin/nrfjprog&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/388671?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 07:42:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bde01ca5-bbf8-4f60-86b3-be05bdfa2826</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;If this does not work, can you show what you&amp;nbsp;PATH looks&amp;nbsp;like without any additional configuration, and also let me know which Linux distro you are using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/388643?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 20:11:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded7afbe-b2f7-45ea-8f66-b0e27d1c6f24</guid><dc:creator>Account01</dc:creator><description>&lt;p&gt;I&amp;#39;m encountering something similar... &lt;br /&gt;I have tried both using &amp;quot;PATH&amp;quot; (I set PATH=$PATH:/opt/nrf-command-line-tools/bin before executing code.) and specifying &amp;quot;/opt/nrf-command-line-tools/bin&amp;quot; when specifying toolchain.&lt;/p&gt;
&lt;p&gt;1: Using PATH (with the toolchain already in the PATH env variable) will give &amp;quot;nrfjprog is required&amp;quot; error&lt;br /&gt;2: Using &amp;quot;/opt/nrf-command-line-tools/bin&amp;quot; it will give an &amp;quot;Invalid Toolchain Installation.&amp;quot; without an explanation.&lt;br /&gt;3: If I run the tools from the command line, they will execute as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/375669?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 07:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:809242d2-a6bc-44d0-9a7c-6be5cef650f9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Have you added it (&lt;code&gt;/opt/nrf-command-line-tools/bin/&lt;/code&gt;) to your path? You can check with&amp;nbsp;&lt;code&gt;echo $PATH&lt;/code&gt;, 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&amp;nbsp;Pardus).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/375635?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 19:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5dc15ea-86bf-4efd-95a6-1066468848af</guid><dc:creator>salihonur</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I already installed via&amp;nbsp;&lt;span&gt;&lt;strong&gt;nrf-command-line-tools_10.16.0_amd64.deb&lt;/strong&gt; package.And also tried *.rpm too. nrfjprog is already located in &lt;strong&gt;/opt/nrf-command-line-tools/bin/&lt;/strong&gt; and it is executable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://imgur.com/ckaY8ID.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://imgur.com/IzxfI88.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code &amp; nrfjprog (nRF Connect SDK) problem on Linux</title><link>https://devzone.nordicsemi.com/thread/375542?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 11:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c54123bd-c7a1-44b2-8611-d804dd6be5df</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looking at the error it seems the issue is that nrfjprog is not in the path. Have you installed &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;nRF Command Line Tools&lt;/a&gt; and ensured that you have nrfjprog in your path? This must be done separately even if you use the toolchain manager.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>