<?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>Warnings that UICR has not been erased just after I erase it</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24096/warnings-that-uicr-has-not-been-erased-just-after-i-erase-it</link><description>I called these command: 
 nrfjprog -f NRF52 --eraseuicr
nrfjprog -f NRF52 --program app.hex --sectorerase
 
 During the eraseuicr I see: 
 Erasing UICR flash area.
Applying system reset.
 
 During the program I see: 
 WARNING: A UICR write operation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Aug 2017 09:05:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24096/warnings-that-uicr-has-not-been-erased-just-after-i-erase-it" /><item><title>RE: Warnings that UICR has not been erased just after I erase it</title><link>https://devzone.nordicsemi.com/thread/94874?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2017 09:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23e34ea7-2f81-4275-8144-d7cc4ade58b8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yeah I missed that. Good to know :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warnings that UICR has not been erased just after I erase it</title><link>https://devzone.nordicsemi.com/thread/94873?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 14:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d7610af-1357-4b11-884d-d7995ae2aacd</guid><dc:creator>Scott Althoff</dc:creator><description>&lt;p&gt;I starting using --sectoranduicrerase. Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warnings that UICR has not been erased just after I erase it</title><link>https://devzone.nordicsemi.com/thread/94872?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 12:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca888f76-1870-4823-a94c-fa138fd4d121</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Scott,
It is a bug in nrfjprog. Seems like --sectorerase can&amp;#39;t erase UICR. And it result in the warning you saw.
But if you do a --eraseuicr prior, you should be fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warnings that UICR has not been erased just after I erase it</title><link>https://devzone.nordicsemi.com/thread/94871?ContentTypeID=1</link><pubDate>Sat, 05 Aug 2017 11:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53553da5-5121-4888-bb4b-211b4c9eb4c5</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I don&amp;#39;t know if that is the right way but I use &lt;code&gt;nrfjprog -f NRF52 --recover&lt;/code&gt; in my scripts, it erases everything including UICR so I&amp;#39;m good to go with programming the entire chip from scratch. Also note that there is &lt;code&gt;--sectoranduicrerase&lt;/code&gt; switch for &lt;code&gt;--program&lt;/code&gt; command in the latest &lt;code&gt;nrfjprog&lt;/code&gt; version, that&amp;#39;s probably what you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>