<?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>Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32985/random-nrf52840-a-silicon-failures</link><description>Every once in a while I will get a failure that results in the app_error_fault_hanlder() being called and the following info: 
 ID = 1 
 PC = 0x14550 
 error_code = 0x495 
 line_num = 0x400. 
 I used the nrf_strerror_get() to try to figure out, but it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Apr 2018 12:37:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32985/random-nrf52840-a-silicon-failures" /><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127219?ContentTypeID=1</link><pubDate>Fri, 06 Apr 2018 12:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6883777a-35b3-4acd-9132-442a1a88fb9b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The assert you are getting is happening because the SoftDevice have either not had enough time to process a LL event, or that it has been blocked in a higher priority interrupt. The processing of LL events is something that have been improved in the production release of the S140. The SoftDevice team believes that migrating to the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52840/S140-SD-v5/60624"&gt;S140 v6.0.0 (production release)&lt;/a&gt; will solve the issue.&lt;/p&gt;
&lt;p&gt;Now that the production release&amp;nbsp;of the S140 is released, it is also on a general basis recommended to migrate to the production release.&lt;/p&gt;
&lt;p&gt;Also note that SDK 15.0 have been released with support for S140 v.6.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127119?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 17:08:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc44a7b7-7417-42b6-be23-d5c864d58a3f</guid><dc:creator>bkdrock</dc:creator><description>&lt;p&gt;OK, I set the optimization to 0. When I hit the breakpoint this time (in app_error_save_and_stop()) I get:&lt;/p&gt;
&lt;p&gt;ID=1&lt;/p&gt;
&lt;p&gt;PC=0x14550&lt;/p&gt;
&lt;p&gt;but&lt;/p&gt;
&lt;p&gt;info=0&lt;/p&gt;
&lt;p&gt;So the line_num and p_file_name, which are derived from info, are not valid.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127091?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 14:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d52c59b9-eed6-445f-a2aa-95c4aea2b54e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Was the error_code and&amp;nbsp;line_num also always the same? What about&amp;nbsp;p_file_name?&lt;/p&gt;
&lt;p&gt;Was the compiler optimization set to 0 when you tested this? If not, could you try to reproduce the issue with&amp;nbsp;optimization set to 0 ? and with the Preprocessor symbol DEBUG defined.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: The&amp;nbsp;instruction that caused the assert in the SoftDevice have been found. I will look into possible reasons for why this is happening, and get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127074?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 13:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ddacf0-097d-42ee-ab41-c8ba9b9413d4</guid><dc:creator>bkdrock</dc:creator><description>&lt;p&gt;Yes,&amp;nbsp;I have hit it multiple times, and that has been the value.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127073?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 13:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0368113-fff1-468b-82fa-017eb6b8632b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Ok, I will look into the&amp;nbsp;program counter of the instruction that triggered the fault.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is the PC value always&amp;nbsp;&lt;span&gt;&lt;em&gt;0x14550&lt;/em&gt; when the failure happens? or is it a new PC value each time?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127072?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 13:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0d752a0-e77f-4ebb-bda3-888342fb8a92</guid><dc:creator>bkdrock</dc:creator><description>&lt;p&gt;I am using s140_nrf52840_6.0.0-6.alpha_softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random NRF52840 (A silicon) failures</title><link>https://devzone.nordicsemi.com/thread/127071?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 13:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f81744fd-c14c-44ac-9d3c-9f0d297c4d71</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When&amp;nbsp;&lt;span&gt;app_error_fault_handler is called with ID=1, then this is a&amp;nbsp;SoftDevice assertion(NRF_FAULT_ID_SD_ASSERT). But normally the info field should have been 0, i.e. no error_code, line_num or&amp;nbsp;p_file_name should be present.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What SoftDevice version are you using?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>