<?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>User programable once registers on nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125102/user-programable-once-registers-on-nrf5340</link><description>Are there user programable once registers on nrf5340 that I could use to store board hardware version? I looked at UICR, but I think they get erased when the whole chip is erased. Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Oct 2025 08:21:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125102/user-programable-once-registers-on-nrf5340" /><item><title>RE: User programable once registers on nrf5340</title><link>https://devzone.nordicsemi.com/thread/552026?ContentTypeID=1</link><pubDate>Tue, 21 Oct 2025 08:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5af4049-6711-4055-ab3b-fda9f9a0c30b</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are no one time programmable registers on the nRF5340, no.&lt;/p&gt;
&lt;p&gt;UICR, as you write, is erased at a full Flash erase, but not during partial Flash erases or during DFU. Depending on the use case, UICR may therefore be a good place to also store HW info. Programmer tools typically give you the option of erasing all, erasing just the sectors that you program, or erasing program memory (without UICR). Of course for some applications you want to write certain UICR registers for software information, in which case you must also re-write any registers used for hardware information.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>