<?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>Using customer registers to pass initialization data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59969/using-customer-registers-to-pass-initialization-data</link><description>Hello, I have this scenario : I want each of my board to have a set of unique data, that I want to write along with the program, at the board initialization (this data will be uses the first time the board boots). I have understood that I could use customer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Apr 2020 08:41:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59969/using-customer-registers-to-pass-initialization-data" /><item><title>RE: Using customer registers to pass initialization data</title><link>https://devzone.nordicsemi.com/thread/244013?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 08:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01b8e2ca-69a7-4f80-904b-86f2da802679</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;Thanks ! I missed that address information in the documentation&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Indeed it works with :&lt;/p&gt;
&lt;p&gt;$ nrfjprog --eraseall&lt;br /&gt;&amp;nbsp; &amp;nbsp; Erasing user available code and UICR flash areas.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Applying system reset.&lt;br /&gt;$ nrfjprog --memwr 0x10001080 --val 0x195B6635&lt;br /&gt;&amp;nbsp; &amp;nbsp; Parsing parameters.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Writing.&lt;br /&gt;&lt;span&gt;$ nrfjprog --program .my_app_bl_sd_app.hex --verify (without --chiperase, not necessary in this case)&lt;br /&gt;&amp;nbsp; &amp;nbsp; Parsing hex file.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Reading flash area to program to guarantee it is erased.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Checking that the area to write is not protected.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Programming device.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Verifying programming.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Verified OK.&lt;br /&gt;$ nrfjprog --memrd 0x10001080 --n 8&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0x10001080: 195B6635 FFFFFFFF |5f[.....|&lt;br /&gt;&lt;br /&gt;Perfect !&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using customer registers to pass initialization data</title><link>https://devzone.nordicsemi.com/thread/243955?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 18:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2b174c7-25b2-4629-a54b-7c9f3ff15736</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;0x80 is a main flash memory. Here&amp;#39;s the right way to write UICR:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog --memwr 0x10001080 --val 0x195B6635&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;But --chiperase will clear UICR as well...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>