<?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 ---pinreset not working on nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20669/nrfjprog----pinreset-not-working-on-nrf52</link><description>Hello! I am using a custom board that contains a nRF52832 device. The board has the SWDIO and SWDCK lines connected, which I have successfully been using to flash and debug the firmware. 
 However, I cannot seem to make the device leave debug mode. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Mar 2017 14:48:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20669/nrfjprog----pinreset-not-working-on-nrf52" /><item><title>RE: nrfjprog ---pinreset not working on nRF52</title><link>https://devzone.nordicsemi.com/thread/80595?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435d8f4a-29ab-426a-8cd0-ed1d94bf2dec</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;@endnode Would pulling the reset pin (P0.21) low be enough to properly reset the device and enter normal mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog ---pinreset not working on nRF52</title><link>https://devzone.nordicsemi.com/thread/80593?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 13:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbb0ec32-339b-4c21-aacb-23111a0d3770</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;@endnode I also looked through the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Ftools.html"&gt;documentation&lt;/a&gt; and found very little additional info. It says &lt;code&gt;-r&lt;/code&gt; performs a soft-reset, and &lt;code&gt;-p&lt;/code&gt; performs a pin reset, by pin reset I&amp;#39;m assuming they mean hard reset.&lt;/p&gt;
&lt;p&gt;On the &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/48935/2/70250272"&gt;schematic&lt;/a&gt; of the nRF52 DK, nReset is indeed connected to pin P0.21, as seen on page 4.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog ---pinreset not working on nRF52</title><link>https://devzone.nordicsemi.com/thread/80592?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 13:39:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0493ee65-c07e-447e-be06-cdf17a8fb8e6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, I believe P0.21/RESET should be connected to SWD nReset wire, but I cannot find in NRFTOOLS docs what is difference between &lt;code&gt;nrfjprog -p&lt;/code&gt; and &lt;code&gt;nrfjrpog -r&lt;/code&gt;, I only assume...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog ---pinreset not working on nRF52</title><link>https://devzone.nordicsemi.com/thread/80591?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 13:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c32120ae-c8cd-4adc-b1a4-f1a9073de5c5</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;@endnode There is nothing connected to &lt;code&gt;P0.21/RESET&lt;/code&gt;. Should this be connected to &lt;a href="https://devzone.nordicsemi.com/question/51707/rst-pin-for-swd-interface-is-necessary/"&gt;nReset&lt;/a&gt;?
When the &lt;code&gt;pinreset&lt;/code&gt; command is issued, the current consumption increases slightly (for about 3 seconds), the Segger LED blinks green a couple of times and blinks red one time. However, the chip does not reset.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfjprog -r -f NRF52&lt;/code&gt; does in fact reset the chip, but apparently it doesn&amp;#39;t bright it out of debug mode, since the current consumption goes back to where it was (~2mA).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog ---pinreset not working on nRF52</title><link>https://devzone.nordicsemi.com/thread/80594?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 12:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6e00890-add6-4656-a7ce-687742edaece</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I guess PINRESET needs separate SWD RST wire attached, do you have it? Otherwise use &lt;code&gt;nrfjprog -r -f NRF52&lt;/code&gt; which sends reset command over SWD protocol, just note that this doesn&amp;#39;t work if you have locked nRF52 chip (read back protection which disables whole debugging interface).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>