<?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>Pin-reset &amp;quot;nrfjprog -p&amp;quot; equivalent using JLinkExe</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4192/pin-reset-nrfjprog--p-equivalent-using-jlinkexe</link><description>I am building an automated test stand for programming our production devices. After programming, I need to pin-reset the device to leave debug mode so I can get an accurate current measurement as part of a go/no-go test before the device is accepted.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jun 2016 18:10:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4192/pin-reset-nrfjprog--p-equivalent-using-jlinkexe" /><item><title>RE: Pin-reset "nrfjprog -p" equivalent using JLinkExe</title><link>https://devzone.nordicsemi.com/thread/14985?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 18:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4091ea42-f30e-4a98-b89a-e9ef63e3c10c</guid><dc:creator>ptigas</dc:creator><description>&lt;p&gt;for some reason after I executed this I wasn&amp;#39;t able to connect again to my device, getting error
&amp;quot;Can not connect to target.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin-reset "nrfjprog -p" equivalent using JLinkExe</title><link>https://devzone.nordicsemi.com/thread/14984?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2015 16:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8838d74-f0d4-4809-a12f-dc46764a1d0d</guid><dc:creator>Mark Rages</dc:creator><description>&lt;p&gt;Thanks for this.  Added to &lt;a href="https://github.com/markrages/jlinkpy"&gt;github.com/.../jlinkpy&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin-reset "nrfjprog -p" equivalent using JLinkExe</title><link>https://devzone.nordicsemi.com/thread/14983?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2014 12:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a779ae3e-4ff6-46f6-885c-02d22ca8c361</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Thank you for answering your own question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin-reset "nrfjprog -p" equivalent using JLinkExe</title><link>https://devzone.nordicsemi.com/thread/14982?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2014 02:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef75d598-b705-4869-b0b9-7f47467ce7fe</guid><dc:creator>Mike Robbins</dc:creator><description>&lt;p&gt;I found a JLink incantation that works!  After setting the appropriate NRF_POWER-&amp;gt;RESET register to enable pin resetting, it next switches the Segger device into JTAG mode and directly manipulates the SWDIO (i.e. TMS) / SWDCLK (i.e. TCK) level to achieve the reset.  This provides a pin reset, which provides a hard reset and does not re-engage the debugger mode.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;w4 40000544 1
si 0
tck0
t0
sleep 10
t1
exit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Tested and working for me!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>