<?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>App fault problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50822/app-fault-problem</link><description>Hello, Nordic! 
 I&amp;#39;m developing with nrf52840, s340, sdk 15.3.0 
 
 I made my app_error_fault_handler. It is very good for me. 
 I sometimes got an error. So I saw that log 
 Received a fault! id: 0x00000001, pc: 0x00005450, info: 0x00000000 SOFTDEVICE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Nov 2019 08:07:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50822/app-fault-problem" /><item><title>RE: App fault problem</title><link>https://devzone.nordicsemi.com/thread/219991?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2019 08:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64edb5c0-2b82-4cc3-b6a6-5a4ee888c5b6</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;It is happened when my device is going to sleep mode that is defined in my program.&lt;/p&gt;
&lt;p&gt;So the sleep mode try to finish work such as scanning, advertising, sensor closing and so on.&lt;/p&gt;
&lt;p&gt;My scan window is 40. That is 25ms.&lt;/p&gt;
&lt;p&gt;I am using fast, slow advertising so fast time out is one minute and slow time out is none.&lt;/p&gt;
&lt;p&gt;No, I don&amp;#39;t do disabling anything while sleep mode.&lt;/p&gt;
&lt;p&gt;My source is nrf_clock_lf_src_xtal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App fault problem</title><link>https://devzone.nordicsemi.com/thread/205552?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 11:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7891b15-fe90-4c64-829b-a01dc6e8b334</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The assert indicates that the SoftDevice was unable to process a BLE event in time. The BLE protocol have timing requirements, and when they are not meet the SoftDevice will assert. There could be several reasons why the SoftDevice did not process these events in time:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You are somehow blocking the SoftDevice in a higher priority interrupt/task/thread, and therefore not giving the SoftDevice enough time to process the BLE events. It could potentially also happen when debugging with breakpoints.&lt;/li&gt;
&lt;li&gt;You are using the Timeslot API, and not ending the timeslot in time, i.e. you spent too much time in the timeslot.&lt;/li&gt;
&lt;li&gt;If this is a custom board, it could be some HW issues with the crystal(s) you are using.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some questions;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What were you doing when it happened?&lt;/span&gt;&lt;span&gt;&amp;nbsp;Did you for example run a scanner with long scan_window?&amp;nbsp;Did you run&amp;nbsp;a directed advertiser with long timeout? Any chance&amp;nbsp;you&amp;nbsp;were&amp;nbsp;disabling interrupts (__disable_irq()). What source are&amp;nbsp;you using for LFCLOCK, RC or XO(crystal)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App fault problem</title><link>https://devzone.nordicsemi.com/thread/203273?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 10:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:714d1cb9-531c-43d4-a7e8-b3237d051506</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Bj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you. I&amp;#39;m waiting your new answer.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App fault problem</title><link>https://devzone.nordicsemi.com/thread/203272?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 10:56:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b5ec7b-6504-43b9-b984-189475e4d874</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Hongpal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;it is Dynastream that compiles the final S340 binary, hence we do not have the .elf or assert table for that SoftDevice internally. I have requested these and will look into the assert once I get hold of the .elf file or the assert table.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: This make take some days.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>