<?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>Writing Board Info in UICR and protecting from erase</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80193/writing-board-info-in-uicr-and-protecting-from-erase</link><description>I am looking for information regarding usage of UICR in nRF52840. I want to store Board information like board version number etc.. in UICR probably in the customer registers for the lifetime of the board. Hence also want to ensure that these information</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Oct 2021 11:41:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80193/writing-board-info-in-uicr-and-protecting-from-erase" /><item><title>RE: Writing Board Info in UICR and protecting from erase</title><link>https://devzone.nordicsemi.com/thread/332125?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 11:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bbfa2de-f416-4f15-931d-42c24743e570</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The chip including the UICR will be fully erased after an ERASEALL, unfortunately. There is no mechanism in place to preserve certain sectors of flash. Is the debug port going to be accessible for your users?&lt;/p&gt;
[quote user=""]If I am correct Access Port Protection (APPROTECT = 0x00) will ensure that UICR doesn&amp;#39;t get erased if tried to erase the chip it via debugger, but still with ERASEALL&amp;nbsp;option from cmd line nrfProj, UICR can get erased and we may have to do sector erase to avoid that.[/quote]
&lt;p&gt;It erases everything to prevent attackers from retreiving any data from the chip.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>