<?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 values not stable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81620/uicr-values-not-stable</link><description>During the End Of Line test of one of our device, based on nRF52832, we write the serial number of the device in some non volatile registers, specifically CUSTOMER[8] and CUSTOMER[9]. 
 
 We realized that some time the writing procedure was failing, leaving</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Nov 2021 11:30:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81620/uicr-values-not-stable" /><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338758?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 11:30:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1552bdb9-108e-4d6e-8516-1c144f62b2db</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Andrea Lombardo"]I was thinking it could be related to battery power or GPRS&amp;nbsp;RF field power.[/quote]
&lt;p&gt;It&amp;#39;s plausible that an unstable supply would give wrong readings, but in that case the power supply supervisor should do a brownout reset. Could you also check the reset register when your receive the device?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338748?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 10:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:246cf98a-ae70-4e9e-a0e4-cd1f9c37bb39</guid><dc:creator>Andrea Lombardo</dc:creator><description>&lt;p&gt;I&amp;nbsp;have asked the customer to return the device. Hopefully I should&amp;nbsp;have it here within two weeks. In the meantime I have upgraded the firmware to another device that was switching between two configurations. The modification was in the reading routine of the&amp;nbsp;UICR register. I read them for 1 seconds (do not know how many times) and I return the value only if every reading is coherent. So far I did not get any wrong reporting, but it is early to say (usually they report the wrong number every 2 days). I was thinking it could be related to battery power or GPRS&amp;nbsp;RF field power.&lt;/p&gt;
&lt;p&gt;I will update the ticket with some news as soon as I get the device or I have more robust findings from the one that have been reprogrammed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338743?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 10:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d282ad-ec77-43d8-a756-cb5931fb103c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ok, so you haven&amp;#39;t checked the register directly, you&amp;#39;ve only by checked via the cloud? The UICR register bits can only be flipped once before you have to erase the flash. If it switches between 0 to 1 without an erase, then it means that it&amp;#39;s probably something else that is the problem such as your application. Could you check the registers directly on a sample by using the SWD interface and reading out the UICR?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338686?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 06:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90317a1e-a335-4d8b-a37c-e27ac145873c</guid><dc:creator>Andrea Lombardo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;UICR are written only during production phase. Specifically, customer[8] and customer[9] are written only after the reception of a special command from the cloud to give a name to the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, there is a bootloader on the board, but we have not released any OTA yet, so the device in the field is running with the same fmw version it was produced.&lt;/p&gt;
&lt;p&gt;See the extract from the database in our cloud system&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1636697916148v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;as you can see, the device presents itself as ATJGDNZ that is its proper name, but it happens that it reports AJTWDNZ.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks that one bit&amp;nbsp;has not been programmed to 0 &amp;quot;well enough&amp;quot; as the difference between the two character is just one bit.&lt;/p&gt;
&lt;p&gt;I never rule out firmware bugs, but if the fmw&amp;nbsp;should zero that bit, this would be forever and it will not show up high again after few seconds.&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338666?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 00:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:011ca4b7-53f8-4fea-9928-d685ed4f0506</guid><dc:creator>smackenzie</dc:creator><description>&lt;p&gt;I have observed similar things when the ground line for the SWJ connection was not properly contacting. Perhaps check your&amp;nbsp;programmer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338613?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 14:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b38e168a-a999-4f81-8bfe-3a02d3ad28f4</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does any of the other registers in the UICR change or is it just the CUSTOMER registers? Do you write to the UICR any other place in your application? Are you using a bootloader?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338553?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 12:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6eeb4cf-b367-4c45-b10b-0276b8b88372</guid><dc:creator>Andrea Lombardo</dc:creator><description>&lt;p&gt;Yes, exactly. This is what looks that happens.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UICR values not stable</title><link>https://devzone.nordicsemi.com/thread/338551?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 12:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c14e65f-777d-40ae-abe1-2930365735a2</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The code looks ok.&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;div&gt;What worries us more is what we have recently&amp;nbsp;discovered.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;We have a couple of devices that present themselves with different names at different times.&amp;nbsp;&lt;/div&gt;[/quote]
&lt;p&gt;Do you mean that the UICR register change in the field after you have verified that the correct value is writing during production?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>