<?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>How to reset NRF52 after readback protection?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32773/how-to-reset-nrf52-after-readback-protection</link><description>Getting ready to go into production with our custom nRF52832 board, we need the board to start running our application immediately after being flashed. Using: 
 nrfjprog version: 9.7.2 JLinkARM.dll version: 6.22d 
 Segger Base J-link programmer 
 Hex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Mar 2018 17:22:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32773/how-to-reset-nrf52-after-readback-protection" /><item><title>RE: How to reset NRF52 after readback protection?</title><link>https://devzone.nordicsemi.com/thread/126166?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 17:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d85bc58f-4340-4b14-9bd3-0e1a0f03a73e</guid><dc:creator>Richard D.</dc:creator><description>&lt;p&gt;That was it, I was missing the --pinresetenable. &amp;nbsp;Thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset NRF52 after readback protection?</title><link>https://devzone.nordicsemi.com/thread/126158?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 17:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb9a7f9-fb00-4c51-9343-24eb9e329c96</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;Have you tried&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Test 1:&lt;br /&gt;nrfjprog --chiperase --verify --program myfile.hex&lt;/p&gt;
&lt;p&gt;nrfjprog --pinresetenable&lt;br /&gt;nrfjprog --debugreset&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Test 2:&lt;br /&gt;nrfjprog --chiperase --verify --program myfile.hex&lt;/p&gt;
&lt;p&gt;nrfjprog --pinresetenable&lt;br /&gt;nrfjprog --pinreset&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrf5x_command_line_tools%2Fnrf5x_nrfjprogexe_reference.html&amp;amp;cp=5_1_3_0"&gt;nrfjprog commands&lt;/a&gt;&lt;span&gt;&amp;nbsp;for details.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset NRF52 after readback protection?</title><link>https://devzone.nordicsemi.com/thread/126155?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 16:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bbf1c4e-57e8-4652-b561-194ee57a1d78</guid><dc:creator>Richard D.</dc:creator><description>&lt;p&gt;Removing some variables by using PCA10040a instead of my custom board and leaving aside the issue of readback protection.&lt;/p&gt;
&lt;p&gt;Test 1:&lt;br /&gt; nrfjprog --chiperase --verify --program myfile.hex&lt;br /&gt; nrfjprog --debugreset&lt;br /&gt;result: my application is not running&lt;/p&gt;
&lt;p&gt;Test 2:&lt;br /&gt; nrfjprog --chiperase --verify --program myfile.hex&lt;br /&gt; nrfjprog --pinreset&lt;br /&gt;result: my application is not running&lt;/p&gt;
&lt;p&gt;Test 3:&lt;br /&gt; nrfjprog --chiperase --verify --program myfile.hex&lt;br /&gt; nrfjprog --reset&lt;br /&gt;result: my application is running&lt;/p&gt;
&lt;p&gt;This suggests that --pinreset nor --debugreset are doing nothing or at least doing something different from --reset. Nrfjprog documentation says for all 3 commands that &amp;quot;The core will run after the operation&amp;quot;. I&amp;#39;m not seeing this to be true. Is anyone out there using --pinreset or --debugreset successfully?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset NRF52 after readback protection?</title><link>https://devzone.nordicsemi.com/thread/126034?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 23:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4228a12e-9e1c-479a-82b3-91eafbf54363</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;&lt;span&gt;Was pinreset enabled before read-back protection was set?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;For nRF52 devices, only&amp;nbsp;&lt;code class="ph codeph"&gt;--pinreset&amp;nbsp;&lt;/code&gt;or&amp;nbsp;&lt;code class="ph codeph"&gt;--recover&amp;nbsp;&lt;/code&gt;operations are available after&amp;nbsp;&lt;code class="ph codeph"&gt;--rbp&lt;/code&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;See&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrf5x_command_line_tools%2Fnrf5x_nrfjprogexe_reference.html&amp;amp;cp=5_1_3_0"&gt;nrfjprog commands&lt;/a&gt;&amp;nbsp;for additional details.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>