<?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>Disable readback protection on an nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68142/disable-readback-protection-on-an-nrf9160</link><description>Hi, 
 I have somehow activated readback protection on a custom nRF9160 device and I can&amp;#39;t seem to recover it via the usual method with nrfjprog. 
 Running &amp;quot;nrfjprog --recover&amp;quot; gives: 
 
 Trying with -f NRF91 gives: 
 
 Am I missing something here in order</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Nov 2020 13:47:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68142/disable-readback-protection-on-an-nrf9160" /><item><title>RE: Disable readback protection on an nRF9160</title><link>https://devzone.nordicsemi.com/thread/279275?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:372a5903-adfe-42bb-98b5-ad0b06e63752</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Michael,&lt;br /&gt;&lt;br /&gt;I am glad to hear that you got it to work again.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Most likely the device was in some kind of weird state and the power-on reset fixed it.&lt;/strong&gt;&lt;br /&gt;(&lt;em&gt;no, a power on reset will not remove readback protection when that is enabled)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable readback protection on an nRF9160</title><link>https://devzone.nordicsemi.com/thread/279264?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1e14883-9a2c-4062-8f3b-7dab6518ae02</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;It looks like it fixed itself with a power on reset? The battery died overnight, charging the unit and trying &amp;#39;nrfjprog -e&amp;#39; seems to have worked. JLinkExe is not showing any issues now connection to the CORTEX-M33 as it was yesterday?&lt;/p&gt;
&lt;p&gt;Would a power on reset really remove readback protection?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7142.log.log"&gt;devzone.nordicsemi.com/.../7142.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable readback protection on an nRF9160</title><link>https://devzone.nordicsemi.com/thread/279258?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e07284bf-4a55-4de9-a118-f69c35c35388</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Could you run the commands with the &amp;#39;--log&amp;#39; at the end to gather the debug log.&lt;br /&gt;e.g. &amp;quot;nrfjprog --recover --log&amp;quot;&lt;br /&gt;&lt;br /&gt;and then share the log in this case?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable readback protection on an nRF9160</title><link>https://devzone.nordicsemi.com/thread/279254?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7fc1acf-27aa-4be9-aad9-69135d11a3fa</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I am using the latest JLink and nrfjprog versions as you showed above:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --version
nrfjprog version: 10.11.1 
JLinkARM.dll version: 6.86f&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I updated my tools while trying to unlock the nRF91 but as shown in the original post, even with the latest tools the device will not remove it&amp;#39;s protections&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable readback protection on an nRF9160</title><link>https://devzone.nordicsemi.com/thread/279241?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 12:46:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b9abb0d-7878-4e35-b2f6-1c50b1ccf3e9</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Which version of &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download" rel="noopener noreferrer" target="_blank"&gt;nrfjprog do you have?&lt;/a&gt;&lt;br /&gt;open cmd --&amp;gt; &amp;#39;nrfjprog -v&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3122.pastedimage1605012407480v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Please make sure you are running version 10.11.&lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Release notes in version 10.11.1&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Update bundled Segger installers and tar balls to v6.86f.

Updated doc string for NRFJPROG_erase_all to make the note about NVM block 
protection more clear.

Add function NRFJPROG_is_eraseprotect_enabled(). In devices that does not 
support erase protection (nrf51, nrf52), this function returns false.

If erase protection is enabled, erase functions will now return 
NOT_AVAILABLE_BECAUSE_PROTECTION if the target operation is not possible.

NRFJPROG_recover() can now disable erase protection if no readback protection
is enabled.

Fixed issue where in nRF53 devices, NRFJPROG_readback_protect(SECURE) did not 
enable secure ap protection.

Fixed issue where in devices with trustzone, nrfjprog could select NVMC_NS for 
erase operations, causing the erase operation to fail silently.

Fixed issue there if SECURE readbackprotection was enabled, NRFJPROG_read(), 
NRFJPROG_read_u32(), NRFJPROG_write(), and NRFJPROG_write_u32() would fail with 
NOT_AVAILABLE_BECAUSE_PROTECTION even though the operation was possible.&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>