<?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>nrfjprog &amp;quot;Cannot connect to J-Link&amp;quot; though libjlinkarm.so.6.88.1 found</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79949/nrfjprog-cannot-connect-to-j-link-though-libjlinkarm-so-6-88-1-found</link><description>Hello Nordic Devzone Community, 
 My name is Ted, and I recently posted a question here regarding trouble when attempting to flash a Sparkfun Thing Plus nRF9160 board, using a Segger J-Link physical programmer and emulator. This work taking place on an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Sep 2021 07:22:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79949/nrfjprog-cannot-connect-to-j-link-though-libjlinkarm-so-6-88-1-found" /><item><title>RE: nrfjprog "Cannot connect to J-Link" though libjlinkarm.so.6.88.1 found</title><link>https://devzone.nordicsemi.com/thread/331212?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 07:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2abc797d-9ee8-4c15-9848-e18ceb57a0ed</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ted,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which physical debugger are you using?&lt;/p&gt;
&lt;p&gt;Note that some older versions are unable to program Cortex M33 devices, as per segger&amp;#39;s wiki page:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/Software_and_Hardware_Features_Overview"&gt;https://wiki.segger.com/Software_and_Hardware_Features_Overview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="tedhavelka"]What kind of warnings or errors would I be looking for there?&amp;nbsp; Is it possible those errors would not name &amp;quot;JLink&amp;quot; itself, but refer only to the USB subsystem in more general or abstract ways?[/quote]
&lt;p&gt;This was just a thought, but if do not see any highlights in red after plugging in the debugger, you should be fine.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog "Cannot connect to J-Link" though libjlinkarm.so.6.88.1 found</title><link>https://devzone.nordicsemi.com/thread/331168?ContentTypeID=1</link><pubDate>Sat, 25 Sep 2021 08:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d70377-ceb0-4364-9b08-5995bb98814d</guid><dc:creator>tedhavelka</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;JLink&amp;#39;s udev rules by that very filename are installed.&amp;nbsp; I&amp;#39;ve rebooted a number of times since installing the driver, and on a Linux system like I am using I don&amp;#39;t recall explicitly installing a JLink driver.&amp;nbsp; I assumed any driver got installed as part of the larger nRF Connect toolchain and SDK installation.&lt;/p&gt;
&lt;p&gt;I have not studied the full record of `dmesg`.&amp;nbsp; What kind of warnings or errors would I be looking for there?&amp;nbsp; Is it possible those errors would not name &amp;quot;JLink&amp;quot; itself, but refer only to the USB subsystem in more general or abstract ways?&lt;/p&gt;
&lt;p&gt;- Ted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog "Cannot connect to J-Link" though libjlinkarm.so.6.88.1 found</title><link>https://devzone.nordicsemi.com/thread/331120?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 13:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22acbac0-2212-417d-980c-75807d1d76b4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your user does not seem to have access to your device.&lt;/p&gt;
&lt;p&gt;Are the udev rules present on your computer? It should be located in &amp;quot;/etc/udev/rules.d/99-jlink.rules&amp;quot;.&lt;/p&gt;
&lt;p&gt;Have you rebooted (or reloaded udev rules) after installing the JLink driver?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]As an anecdote, I am able to flash a Zephyr based application via `west flash` to a Nordic nRF9160DK development board.&amp;nbsp; This board has a JLink programmer+debugger integrated within itself.&amp;nbsp; West&amp;#39;s flash runner has actually detected when I have both the Segger JLink connected to the host computer, and the nRF9160DK.&amp;nbsp; In that set up `nrfjprog` prompts me for which programmer I wish to use to flash firmware.[/quote]
&lt;p&gt;nrfjprog --ids shows the correct one as well? Nothing in &amp;quot;dmesg&amp;quot; that suggests there should be any problems with the usb device?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>