<?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>UICR write example with nRF9160 and Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89195/uicr-write-example-with-nrf9160-and-zephyr</link><description>I might be dense, but I&amp;#39;m not seeing any examples on how to write a value to UICR using Zephyr. Does one exist? If not, is there a guide somewhere on how to use NVS (I guess?) to write to UICR? In our case we are trying to perform a one-time write of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jun 2022 12:38:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89195/uicr-write-example-with-nrf9160-and-zephyr" /><item><title>RE: UICR write example with nRF9160 and Zephyr</title><link>https://devzone.nordicsemi.com/thread/373691?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 12:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dab07676-e74d-46ff-a59f-a384aa97e518</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;Here is an example showing how Pin Reset is configured in UICR during startup: &lt;a href="https://github.com/nrfconnect/sdk-hal_nordic/blob/8f013ea950f41bf69b18bf688bfb0dd80a3fdc44/nrfx/mdk/system_nrf52840.c#L161"&gt;https://github.com/nrfconnect/sdk-hal_nordic/blob/8f013ea950f41bf69b18bf688bfb0dd80a3fdc44/nrfx/mdk/system_nrf52840.c#L161&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;First, you have to enable write in CONFIG, then wait until READY, then write your identifier into where you would like it: NRF_UICR-&amp;gt;CUSTOMER[n].&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>