<?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 failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32091/nrfjprog-failure-if-connected-with-two-devices-and-jlinkexe-runs</link><description>Sometimes, when I want to use the nrfjprog tool, I get the following error: 
 nrfjprog --log -f nrf52 --reset 
 ERROR: JLinkARM DLL reported an error. Try again. If error condition ERROR: persists, run the same command again with argument --log, contact</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Mar 2018 17:54:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32091/nrfjprog-failure-if-connected-with-two-devices-and-jlinkexe-runs" /><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124444?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 17:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63bce3f9-c17b-41d0-b93c-a661b585f99e</guid><dc:creator>defensivesplat</dc:creator><description>&lt;p&gt;yes, the first device where rtt is started works like expected, but the second one has this described failure.&lt;/p&gt;
&lt;p&gt;so i can change the decice, on which i can call nrfjprog without a failure and with failure, by changing the order of the calls jlinkexe/jlinkrttclient.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124439?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 16:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d854520-e41c-4646-ab32-c68188f53fb4</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Ok, great to know!&lt;/p&gt;
&lt;p&gt;Does which device that fails change if you switch up the order you reset / start RTT terminals?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124438?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 16:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3daeca-62c6-4361-86bc-6c2c7f4ed41e</guid><dc:creator>defensivesplat</dc:creator><description>&lt;p&gt;Sorry, I forgot to mention, that I am using Ubuntu 16.04, I have 5 Terminals open: in two of them, I start JLinkExe and in another two, I start JLinkRTTClient -RTTTelnetPort $PORT and in one terminal, I start the nrfjprog command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124436?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 16:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6731036f-642b-4604-b7a9-68890bcc2c68</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Vidar refers to that each JLink.exe or nrfjprog.exe instance creates a new instance of the jlink library, and a new connection to the programmer.&lt;/p&gt;
&lt;p&gt;As he mentions though, that shouldn&amp;#39;t be an issue, as multiple connections is supported.&lt;/p&gt;
&lt;p&gt;When running those commands, do you run them one after the other in CMD/run, or do you use something to spawn the processes? (Python subprocess fex?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124424?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 15:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91701cae-a6b3-40d2-a2b7-72d38897eacc</guid><dc:creator>defensivesplat</dc:creator><description>&lt;p&gt;Thanks for this idea, I tried it, but it didn&amp;#39;t solve the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124421?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 15:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e5b458-b12e-4e79-82f8-33a892a30db8</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;RTT could use more than one TCP port, try using &lt;code&gt;-RTTTelnetPort 9201&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124401?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 14:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc17054e-17a4-4b68-8efa-b4087e9064f2</guid><dc:creator>defensivesplat</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;the problem is not, that there are multiple jlink instances on one programmer, the problem arises, if I use two PDK boards and start on both the JLinkExe.&lt;/p&gt;
&lt;p&gt;I have already downloaded the latest JLink Drivers (v630g), but the problem persists. (I.e. If I connect two boards and start on both of them the JLinkExe, I can&amp;#39;t program one of the devices, while the other one works just fine.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failure, if connected with two devices and JLinkExe runs</title><link>https://devzone.nordicsemi.com/thread/124369?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 12:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae50c13a-f0e4-479f-80b3-f80f9721c9c8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should be possible to have multiple jlink instances connected to the same programmer, and was unable to reproduce this issue on Windows. Have you tried to use the latest Segger driver:&amp;nbsp;&amp;nbsp;&lt;a href="https://www.segger.com/downloads/jlink/"&gt;https://www.segger.com/downloads/jlink/&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;I guess a possible work-around could be to reset the device from&amp;nbsp; the existing Jlink commander instance instead of opening a new nrfjprog instance.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>