<?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>Small number of produced boards run only when using Debugger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67807/small-number-of-produced-boards-run-only-when-using-debugger</link><description>Platform: NRF52832 custom board. SDK11 S132 V2.0 
 Produced 2600 pcb&amp;#39;s. Most function as expected. However, 40 or so boards run normally only when using the debugger. The issue is that shortly after power-up, the device hangs somewhere in code. I&amp;#39;m unable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Oct 2020 18:08:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67807/small-number-of-produced-boards-run-only-when-using-debugger" /><item><title>RE: Small number of produced boards run only when using Debugger</title><link>https://devzone.nordicsemi.com/thread/277890?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 18:08:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18d0bfc9-471e-43aa-9175-0cc2ab28fd2e</guid><dc:creator>codeWeaver</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thanks for the info. The work around solved the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again for all your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Small number of produced boards run only when using Debugger</title><link>https://devzone.nordicsemi.com/thread/277886?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 17:29:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cc62bdd-0e6d-42fc-8d12-4c0c5bed2737</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello, I noticed that you were using SDK 11 and just wanted to add this version does not implement the workaround for the following errata: &lt;span class="item"&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_108.html?cp=4_2_1_0_1_30"&gt;[108] RAM: RAM content cannot be trusted upon waking up from System ON Idle or System OFF mode. &lt;/a&gt;This errata can lead to the same type of behavior on affected devices.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="item"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Small number of produced boards run only when using Debugger</title><link>https://devzone.nordicsemi.com/thread/277879?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 16:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48f9c4c7-84b7-4155-b624-c60b4b5bad72</guid><dc:creator>codeWeaver</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thanks for the reply. Adding your code at the beginning of ble_stack_init() yielded both clocks starting as normal.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Small number of produced boards run only when using Debugger</title><link>https://devzone.nordicsemi.com/thread/277841?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 14:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f50677-e4e9-4e76-b203-61d777363e65</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If the softdevice functions are not responding, then it may sound like there are some XTAL issues. Do you have an external LFXTAL? And is it working?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you try to jump over the &amp;quot;advertising by jumping over the code&amp;quot;, as you described, and replace it with something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;
    while (!NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED)
    {
        // Wait.
    }
    NRF_LOG_INFO(&amp;quot;LFCLK Started.&amp;quot;);
    
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
    while (!NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED)
    {
        // Wait. 
    }
    NRF_LOG_INFO(&amp;quot;HFCLK Started&amp;quot;);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What does the log say? Are the clocks started?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>