<?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>How to write , read &amp;amp; modified  data to UICR CUSTOMER registers? Also i want to pass UICR register data to beacon frame?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86312/how-to-write-read-modified-data-to-uicr-customer-registers-also-i-want-to-pass-uicr-register-data-to-beacon-frame</link><description>My Development Setup 
 Windows 10 , nRF5_SDK_15.0.0_a53641a , I am using Segger Embedded Studio for ARM V5.10a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2022 09:21:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86312/how-to-write-read-modified-data-to-uicr-customer-registers-also-i-want-to-pass-uicr-register-data-to-beacon-frame" /><item><title>RE: How to write , read &amp; modified  data to UICR CUSTOMER registers? Also i want to pass UICR register data to beacon frame?</title><link>https://devzone.nordicsemi.com/thread/360701?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 09:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3756655-469f-4f61-9428-02db2b1b7e33</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;Hii Kenneth,&lt;/p&gt;
&lt;p&gt;In my case , I want to generate serial number during compile time.I had generated serial number via JFLASH Tool &amp;amp; stored&amp;nbsp; that in UICR register (@ CUSTOMER[2] i.e.,&amp;nbsp;&lt;span&gt;UICR_ADDR_0x88&lt;/span&gt; ) . I did that, my serial number is write properly on flash memory .But i want to send that serial number to BLE Frame.&amp;nbsp; For that i used below logic in frame :&lt;/p&gt;
&lt;p&gt;m_beacon_info1[15]=UICR_ADDR_0x88&amp;gt;&amp;gt;24;&amp;nbsp;&lt;br /&gt; m_beacon_info1[16]=UICR_ADDR_0x88&amp;gt;&amp;gt;16;&amp;nbsp;&lt;br /&gt;m_beacon_info1[17]=UICR_ADDR_0x88&amp;gt;&amp;gt;8;&amp;nbsp;&lt;br /&gt;m_beacon_info1[18]=UICR_ADDR_0x88;&lt;/p&gt;
&lt;p&gt;[Note : My serial number is&amp;nbsp; 32 Bit &amp;amp; my m_beacon_info1 is of 8 Bit.] so bit shifting logic used here&lt;/p&gt;
&lt;p&gt;when i pass serial number (12) to BLE Frame i get different serial number ( its ffffffff) .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;( my ble frame also disturbed)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to write , read &amp; modified  data to UICR CUSTOMER registers? Also i want to pass UICR register data to beacon frame?</title><link>https://devzone.nordicsemi.com/thread/360284?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41ba39c5-b7c6-486f-8cdb-4eb4bb3eb013</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You are using an old nRF5 SDK, the latest is nRF5 SDK v17.1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general it&amp;#39;s a bad idea to put data in UICR that you need to update run-time, since the only way to update data in UICR will be to erase UICR, which can impact pin reset, readback protection and NFC. So data written in UICR&amp;nbsp;should be production data/configuration that is&amp;nbsp;read-only by the application.&lt;/p&gt;
&lt;p&gt;If you need to store and update data in the application, then you can for instance use FDS:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_fds.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_fds.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>