<?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>change UICR register values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46735/change-uicr-register-values</link><description>Hi, I am trying to modify UICR PSELRESET but its not changing. Any help? 
 NRF_UICR-&amp;gt;PSELRESET[0] = 0xFFFFFFFF ; NRF_UICR-&amp;gt;PSELRESET[1] = 0xFFFFFFFF ; 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Apr 2019 12:53:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46735/change-uicr-register-values" /><item><title>RE: change UICR register values</title><link>https://devzone.nordicsemi.com/thread/184584?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f90ac9b4-616e-47e8-8403-8ac07e8c473d</guid><dc:creator>chandan</dc:creator><description>&lt;p&gt;Updated my code as below, working fine.&lt;/p&gt;
&lt;p&gt;NRF_NVMC-&amp;gt;CONFIG = NVMC_CONFIG_WEN_Een &amp;lt;&amp;lt; NVMC_CONFIG_WEN_Pos;&lt;br /&gt; while (NRF_NVMC-&amp;gt;READY == NVMC_READY_READY_Busy){};&lt;/p&gt;
&lt;p&gt;NRF_NVMC-&amp;gt;ERASEUICR = NVMC_ERASEUICR_ERASEUICR_Erase;&lt;/p&gt;
&lt;p&gt;NRF_UICR-&amp;gt;PSELRESET[0] = 0xFFFFFFFF ;&lt;br /&gt; NRF_UICR-&amp;gt;PSELRESET[1] = 0xFFFFFFFF ;&lt;/p&gt;
&lt;p&gt;NRF_NVMC-&amp;gt;CONFIG = NVMC_CONFIG_WEN_Ren &amp;lt;&amp;lt; NVMC_CONFIG_WEN_Pos;&lt;br /&gt; while (NRF_NVMC-&amp;gt;READY == NVMC_READY_READY_Busy){}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: change UICR register values</title><link>https://devzone.nordicsemi.com/thread/184563?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18e6e990-5d89-461e-89a4-5e1b1a9f8cb4</guid><dc:creator>chandan</dc:creator><description>&lt;p&gt;Currently in&amp;nbsp;&lt;span&gt;NRF_UICR-&amp;gt;PSELRESET value is 21 which means pin 21 is reset so I want to remove this pin from reset, That&amp;#39;s y i m updating value to 0xFFFFFFFF. Can you suggest?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: change UICR register values</title><link>https://devzone.nordicsemi.com/thread/184237?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 08:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:312d1133-6d59-42c1-9f3a-e7db5d0ae41d</guid><dc:creator>William E.</dc:creator><description>&lt;p&gt;Read this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fuicr.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fuicr.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You need to erase the UICR region in order to write bits from 0 to 1, 1 to 0 does not require an erase operation. Also:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;After UICR has been written, the new UICR configuration will only take effect after a reset.&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>