<?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>Can I modify ucir in my application?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23792/can-i-modify-ucir-in-my-application</link><description>Can I modify the value of ucir in my application? If yes, How to do it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jul 2017 08:25:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23792/can-i-modify-ucir-in-my-application" /><item><title>RE: Can I modify ucir in my application?</title><link>https://devzone.nordicsemi.com/thread/93585?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 08:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2402720a-761b-4d79-9e4b-2970bc14e5ed</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Your code is correct, I have tested it and get correct reading. Note that UICR registers are located in flash, and it &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/nvmc.html?cp=2_1_0_10_7#unique_1263381791"&gt;can take up to 338 us to write one word&lt;/a&gt;. Try adding a short delay before reading back the value, to make sure it have enough time to be written to flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I modify ucir in my application?</title><link>https://devzone.nordicsemi.com/thread/93584?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 02:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adac81a8-7ac1-4010-a9dc-5aaa1b4c47a6</guid><dc:creator>frank zhang</dc:creator><description>&lt;p&gt;Hi Endnode,
Thanks for your feedback
I have tried the code below:
#define UICR_CUSTOM_ADDRESS                    0x10001080&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;		*((uint32_t *)UICR_CUSTOM_ADDRESS) = 0x12345678;

		printf(&amp;quot;UICR:%8x &amp;quot;,(*(uint32_t *)UICR_CUSTOM_ADDRESS));
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But I still get &amp;quot;UICR:ffffffff&amp;quot;.
Can you tell me what is the right way to modify UICR-&amp;gt;CUSTOMER ?
Thanks
Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I modify ucir in my application?</title><link>https://devzone.nordicsemi.com/thread/93583?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 08:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60880f8e-e47f-4a09-b9a5-4e3a030401f4</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes you can, simply write to &lt;code&gt;UICR-&amp;gt;xxx&lt;/code&gt; address (must be 32-bit aligned and better not overwrite some significant registers;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>