<?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>What APPROTECT is the most secure?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127757/what-approtect-is-the-most-secure</link><description>Does APPROTECT supersede SECUREAPPROTECT or do both need to be enabled for maximum security? 
 Similarly, do the HW protections (APPROTECT, SECUREAPPROTECT, ERASEPROTECT) supersede the software protections (ex: Kconfig option: CONFIG_NRF_APPROTECT_LOCK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Apr 2026 12:28:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127757/what-approtect-is-the-most-secure" /><item><title>RE: What APPROTECT is the most secure?</title><link>https://devzone.nordicsemi.com/thread/564986?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 12:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f27681ce-c960-49b2-8d04-d23a904c4eb2</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Hi Andrew,&lt;/span&gt;&lt;/p&gt;
[quote user="BluePotion"]Does software AP-Protect prevent the &amp;quot;unlocking&amp;quot; described &lt;a href="https://docs.nordicsemi.com/bundle/nan_042/page/APP/nan_production_programming/approtect_eraseprotect_enabled.html"&gt;here&lt;/a&gt;?[/quote]
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;The unlock mechanism where firmware provides a 32-bit non-zero KEY to ERASEPROTECT.DISABLE is specifically for the case where&amp;nbsp;both APPROTECT and ERASEPROTECT are enabled. I will elaborate on this a bit more below.&lt;/span&gt;&lt;/p&gt;
[quote user="BluePotion"]Does software AP-Protect any future FW from disabling AP-Protect?[/quote]
&lt;p&gt;&lt;span style="font-family:inherit;font-size:inherit;"&gt;Yes, it does. The following is stated in the documentation that I&amp;#39;ve shared: &amp;quot;With this Kconfig option set, the MDK locks AP-Protect in&amp;nbsp;&lt;code&gt;SystemInit()&lt;/code&gt;&amp;nbsp;at every boot. It also prevents CPU from disabling AP-Protect in software.&amp;quot; Refer:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_NRF_APPROTECT_LOCK"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_NRF_APPROTECT_LOCK&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;span style="font-size:inherit;"&gt;If the bootloader permanently locks AP-Protect using the KCONFIG CONFIG_NRF_APPROTECT_LOCK,&amp;nbsp;a simple firmware update does not disable APPROTECT.&amp;nbsp;&amp;nbsp;This is because the lock happens in&amp;nbsp;&lt;code dir="ltr"&gt;SystemInit()&lt;/code&gt;&amp;nbsp;before any application code runs. The only way to regain debug access would be through hardware-side recovery (you can use &lt;em&gt;nrfutil device recover&lt;/em&gt;, which will issue an ERASEALL),&amp;nbsp;provided that ERASEPROTECT is not also enabled.&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:inherit;"&gt;If ERASEPROTECT is also enabled, then&amp;nbsp;it blocks&amp;nbsp; ERASEALL functionality. So the only recovery path is the KEY-based handshake that you have linked. (this requires a compatible firmware as stated in the documentation).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;font-size:inherit;"&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;font-size:inherit;"&gt;Swathy&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What APPROTECT is the most secure?</title><link>https://devzone.nordicsemi.com/thread/564883?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2026 18:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d264cbda-fe02-4e28-aa04-32ebe70feb38</guid><dc:creator>BluePotion</dc:creator><description>&lt;p&gt;Thanks! Your description helps a lot.&lt;/p&gt;
&lt;p&gt;Does software AP-Protect prevent the &amp;quot;unlocking&amp;quot; described &lt;a href="https://docs.nordicsemi.com/bundle/nan_042/page/APP/nan_production_programming/approtect_eraseprotect_enabled.html"&gt;here&lt;/a&gt;?&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/nan_042/page/APP/nan_production_programming/approtect_eraseprotect_enabled.html"&gt;https://docs.nordicsemi.com/bundle/nan_042/page/APP/nan_production_programming/approtect_eraseprotect_enabled.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does software AP-Protect any future FW from disabling AP-Protect? Like, if the boot loader never changes and if it had AP-Protect enabled, can AP-Protect ever be disabled? Would the boot loader have to be updated?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What APPROTECT is the most secure?</title><link>https://devzone.nordicsemi.com/thread/564852?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2026 12:09:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6beb17c-f94a-4753-8779-4468ab63788f</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Enabling APPROTECT and Secure APPROTECT (SECUREAPPROTECT) on the nRF53 series are separate mechanisms&lt;/span&gt;&lt;span&gt;&amp;nbsp;and must be configured independently. Setting APPROTECT does not&lt;/span&gt;&lt;span&gt;&amp;nbsp;automatically enable SECUREAPPROTECT.&amp;nbsp;&lt;/span&gt;&lt;span&gt;So no, neither supersedes one another.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Same with HW and SW protection. They are complementary and does not supersede one another. You should use both together for maximum security. AP-Protect is controlled by&amp;nbsp;both hardware and software. If only the hardware UICR register is set but the firmware does not lock AP-Protect in software, the software layer could potentially open the debug access port.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I suggest that you go through the documentation here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/ap_protect.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/ap_protect.html&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>