<?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 fuse nRF9160 debug port?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57232/how-to-fuse-nrf9160-debug-port</link><description>Hi, 
 How do we fuse the debug port on nRF9160? The purpose is to block all access and the ability to erase all from outside. 
 
 This is my understanding: 
 
 From debugger as last step in factory: 
 Set UICR APPROTECT=0 to disable DAP access (non-volatile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Feb 2020 13:06:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57232/how-to-fuse-nrf9160-debug-port" /><item><title>RE: How to fuse nRF9160 debug port?</title><link>https://devzone.nordicsemi.com/thread/233057?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 13:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b89cd760-e4a7-4bbe-94f2-c533fc8285b5</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;Thanks for great support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fuse nRF9160 debug port?</title><link>https://devzone.nordicsemi.com/thread/233053?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 12:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13659196-d5d0-4a8e-83b1-8a8dd884ac5b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;The nRF52840 does not have the ERASEPROTECT register. So while you can have full read back protection, and make it impossible to alter the FW in some way through the SWD port; there will always be a possibility to do a full erase of the chip, and then flash another firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fuse nRF9160 debug port?</title><link>https://devzone.nordicsemi.com/thread/233048?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 12:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f21d47c6-6c0b-4408-8fa3-710cf4715b2d</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;Thanks for your response Stian,&lt;/p&gt;
&lt;p&gt;I agree, considering code injection the LOCK register is important!&lt;/p&gt;
&lt;p&gt;Can you confirm that it is possible to fuse the nRF52840 debug port in the same way?&lt;/p&gt;
&lt;p&gt;BR / Bj&amp;ouml;rn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fuse nRF9160 debug port?</title><link>https://devzone.nordicsemi.com/thread/233046?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 12:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c77ee6-0705-4e79-a9f8-1fb31c08e9ed</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, the APPROTECT and ERASEPROTECT in UICR alone will block all access and the possibility to erase all from outside. If there is no predefined mechanism in the FW which can write a non-zero value to the ERASEPROTECT.DISABLE register, it will be impossible to access the chip again.&lt;/p&gt;
&lt;p&gt;The ERASEPROTECT.DISABLE is set to 0 by default so it&amp;#39;s not necessary to write to this register at startup. But it wouldn&amp;#39;t hurt to set this to 0 again, if you want to be 100% sure.&lt;/p&gt;
&lt;p&gt;The LOCK register prevents anything in the FW to write to the DISABLE register, so that is more important IMO. In case of code injection of some sort, even though that would be very theoretical.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>