<?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>Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22140/cannot-connect-to-nrf52-development-kit-with-nrfjprog</link><description>Hi,
I am trying to program nrf52 (on board ), but I keep getting these error:
$ nrfjprog -f nrf52 --program nrf52832_xxaa.hex --eraseall 
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Sep 2017 21:09:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22140/cannot-connect-to-nrf52-development-kit-with-nrfjprog" /><item><title>RE: Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/87011?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 21:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58c5e77b-b951-4ccf-bf70-6fefd1f71b5a</guid><dc:creator>marsanyi</dc:creator><description>&lt;p&gt;worked for me, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/87008?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 09:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8b458e2-9c15-48f8-a4f2-5369fa836324</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;Don&amp;#39;t the dev-rules specify a permissions group?  Did you installed nrfjprog while root?  Try running nrfjprog as root, that would eliminate permissions theory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/87007?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 06:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff1e9fef-d802-4fc4-b590-880a6d65699d</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;@Daniel Wang: Thank you for suggestion. I add my username to dialout access pool. But still I am getting the same error. But as you mentioned, it is most probably the access right issue, but I dont know how to overcome that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/87010?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 21:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ab89c6-0be3-4d05-b7a8-61fede47b06e</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;try to grant serial port access permissions to your user:&lt;/p&gt;
&lt;p&gt;sudo usermod -a -G dialout &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/87009?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 20:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8550078f-8165-4fe1-bcef-af6ce14dff3f</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;@butch: Thanks for the reply. Yes, indeed the DK is discoverable with &amp;quot;lsusb&amp;quot;. And also &amp;quot;nrfjprog -i &amp;quot; gives me the number of the on board jlink. But Whenever I want to write to the board I get those errors that I have posted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to nrf52 development kit with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/87006?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 19:50:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae725b55-b2c7-4644-bde0-a51ed9990b7f</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;Just ideas:  did you try just &amp;quot;nrfjprog --ids&amp;quot;?   When I plug in the DK on Ubuntu, a window opens showing the USB &amp;quot;stick&amp;quot; so to speak and saying something like &amp;quot;JLink.&amp;quot;  I can&amp;#39;t remember whether Segger JLink installation requires futzing with /etc/udev/rules.d/99-jlink.rules. Use something like &amp;quot;lsusb&amp;quot; to see whether the USB connection is proper.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>