<?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 disable APPROTECT permanently? DFU is needed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96590/how-to-disable-approtect-permanently-dfu-is-needed</link><description>Hi, 
 
 I have been using nrf52840 chip for a while and now the new revision of the chip has APPROTECT feature that locks the writing until nrfjprog --recover is run and the whole chip is erased. This is my chip revision 
 
 I am using S340 (ANT_s340_nrf52840_6</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Feb 2023 12:19:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96590/how-to-disable-approtect-permanently-dfu-is-needed" /><item><title>RE: How to disable APPROTECT permanently? DFU is needed</title><link>https://devzone.nordicsemi.com/thread/409580?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 12:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6eb0545-92f2-46c8-97df-8ef7093aed82</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;The code you provided in your question is actually disabling APPROTECT in the hardware. It&amp;#39;s the code that written to UICR to disable APPROTECT.&amp;nbsp;&lt;br /&gt;Please see here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/dif.html?cp=5_0_0_3_7_1#concept_udr_mns_1s"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/dif.html?cp=5_0_0_3_7_1#concept_udr_mns_1s&lt;br /&gt;&lt;/a&gt;In addition to hardware (write to UICR in flash, this only need to be done once) you need to disable it in firmware (write to&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/dif.html?cp=5_0_0_3_7_1#register.DISABLE"&gt;APPROTECT.DISABLE&lt;/a&gt;&amp;nbsp;in the firmware, this need to be performed on every boot)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable APPROTECT permanently? DFU is needed</title><link>https://devzone.nordicsemi.com/thread/409558?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 11:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf27687-8f2c-4e1c-8036-f6785c8a8c07</guid><dc:creator>TitanDaniel</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am now disable it with software only, can you please show me how to disable it on hardware?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable APPROTECT permanently? DFU is needed</title><link>https://devzone.nordicsemi.com/thread/409529?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 10:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b32cc5c-f2c6-4b1c-a392-39af4370d2fa</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Daniel,&amp;nbsp;&lt;br /&gt;Thanks for letting us know. Please be aware that with the enchanced APPROTECT from revision 3 of the chip&amp;nbsp; you need to disable APPROTECT&amp;nbsp;in both hardware and software. I would assume the older MDK doesn&amp;#39;t have the software disable part enabled.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Note that DFU and the bootloader is not affected by APPROTECT. APPROTECT only&amp;nbsp;disconnects the chip&amp;nbsp;from SWD interface (from the programmer) not the bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>