<?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 SWD permanently using UICR.APPROTECT register</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106333/how-to-disable-swd-permanently-using-uicr-approtect-register</link><description>Hi, 
 In my project, I need to disable SWD permanently. Can I do it using UICR.APPROTECT? The following 2 pieces of information confused me : 
 1. infocenter.nordicsemi.com/index.jsp 
 
 After UICR has been written, the new UICR configuration will only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Dec 2023 01:24:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106333/how-to-disable-swd-permanently-using-uicr-approtect-register" /><item><title>RE: How to disable SWD permanently using UICR.APPROTECT register</title><link>https://devzone.nordicsemi.com/thread/459086?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 01:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b11d58e6-f675-44f6-9551-a0400d848d4c</guid><dc:creator>JianPan</dc:creator><description>&lt;p&gt;Thanks, Sigurd. That is very helpful..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable SWD permanently using UICR.APPROTECT register</title><link>https://devzone.nordicsemi.com/thread/458993?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 14:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6172a89-140e-4c7e-918f-52a4f77c0cbb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;APPROTECT.DISABLE is a separate register, is not directly part of UICR.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1701784494116v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/dif.html?cp=5_0_0_3_7"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/dif.html?cp=5_0_0_3_7&lt;/a&gt;&lt;/p&gt;
[quote user=""]Question 2. Is there a way to disable SWD permanently, by&amp;nbsp;UICR.APPROTECT register or by HW change?[/quote]
&lt;p&gt;Not completely. On nRF52840 a debugger could trigger a erase-all operation. On the nRF5340 however, there is an additional &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/ctrl-ap.html?cp=4_0_0_7_9_1#ctrlap_erase"&gt;ERASEPROTECT &lt;/a&gt;&lt;span&gt;register.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>