<?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>nrf9160 read UICR values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48240/nrf9160-read-uicr-values</link><description>Hi, 
 SDK 0.4.0 simple_mqtt project 
 Modem mfwnrf916007029alpha 
 
 I want to write an unique 4 bytes ID into each nRF9160 via nrfjprog. 
 So that, I can set subscription topic according this ID. 
 I can write the ID via &amp;quot;nrfjprog --memwr 0x00ff8000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jun 2019 06:24:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48240/nrf9160-read-uicr-values" /><item><title>RE: nrf9160 read UICR values</title><link>https://devzone.nordicsemi.com/thread/191771?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2019 06:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:499d83d3-0e0a-4498-8f12-2367a18162ab</guid><dc:creator>LeoChen</dc:creator><description>&lt;p&gt;Thanks, Martin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 read UICR values</title><link>https://devzone.nordicsemi.com/thread/191281?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 09:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02f529d6-f451-4d85-88b2-39dbc4c4156e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Leo,&lt;/p&gt;
&lt;p&gt;You can read out such value like this in your application:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;value = *(uint32_t *)MY_ADDRESS; &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want something more &amp;quot;fancy&amp;quot; you can use the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/tree/master/samples/subsys/nvs" rel="noopener noreferrer" target="_blank"&gt;Non-Volatile Storage &lt;/a&gt;subsystem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&amp;nbsp;&lt;/strong&gt;Please be careful where in the flash you store these values. This is especially important if you are going to use DFU, with regards to where the different partitions are located.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>