<?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>Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64238/application-fault-in-softdevice</link><description>Hi, 
 
 My device is using nRF52840 with s140 of SDK v16. BLE feature is used with SD . 
 Sometimes application hard faults in SD are observed in devices deployed. It is quite random. 
 Its PC is 0x1505C and fault id is 1. 
 Would you let me know when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Aug 2020 23:37:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64238/application-fault-in-softdevice" /><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/266842?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 23:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf764a4e-6aed-400a-97a9-b9dc345116d4</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Thank you very much for the answer.&lt;/p&gt;
&lt;p&gt;Best regars,&lt;br /&gt;Jake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/266777?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 14:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d35b8269-7ca2-424c-8110-7c2bd6c8aed5</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Assert 0x01505C can happen independently of timeslot use, but you can also get it for overstaying in a timeslot.&lt;/p&gt;
&lt;p&gt;Assert 0x025b94 happens in the timeslot api implementation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/266338?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 00:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d7a303-f603-4c2a-a8c1-72e2f74cfe27</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Dear &lt;a href="https://devzone.nordicsemi.com/members/marjeris-romero"&gt;Marjeris Romero&lt;/a&gt;, please answer to my final question.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/265430?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 00:31:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df03a8bb-eaf0-424d-b6ce-d36b8bdf5ef0</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Ok, now I found the root cause of the misunderstanding.&lt;/p&gt;
&lt;p&gt;Please have a look at following diagram.&lt;br /&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x240/__key/communityserver-discussions-components-files/4/nordic_5F00_assertion_5F00_issue.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;I was distinguishing T1 and T2.&lt;br /&gt;And I thought that long T1 caused 0x25B94 while long T2 caused&amp;nbsp;0x01505c.&lt;/p&gt;
&lt;p&gt;But from the last explanation&amp;nbsp;of&amp;nbsp;Softdevice developer, I found that T1 and T2 are not clearly differentiated.&lt;/p&gt;
&lt;p&gt;And here is my last question for one statement in the explanation.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/64238/application-fault-in-softdevice/264437"]This assert can happen if the application disables interrupt globaly at unfortunate times, or has missconfigured one of its interrupts to have highest priority.[/quote]
&lt;p&gt;This comment makes me feel that there is a possibility of assertion even when the spent time is short if the timing is unfortunate. Is it?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m expecting an answer from you of &amp;quot;only LONG time spending (overstaying) raises the assertion&amp;quot;, &amp;quot;the assertion will never happen if T1 and T2 are short&amp;quot;.&lt;/p&gt;
&lt;p&gt;Please confirm it to your softdevice developer.&lt;br /&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/264437?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2020 11:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe19ef56-9a25-4779-845d-dc2d2aed7153</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Jake,&lt;/p&gt;
[quote user="Hakon"]What most likely happens when you get assert 0x25B94 is that you spend too much time in the p_radio_signal_callback handler that is passed to sd_radio_session_open().[/quote]
&lt;p&gt;This was Håkon&amp;#39;s suggestion for what could be happening when you get assert 0x25B94. I agree with Håkon that it&amp;#39;s very likely that you in some way are overstaying your allocated timeslot. You say that you return from the p_radio_signal_callback handler as soon as possible but I cannot see that from the code snippet you posted earlier. Can you post the code where you return NRF_RADIO_SIGNAL_CALLBACK_ACTION_END?&lt;/p&gt;
&lt;p&gt;You need to end the current timeslot by returning either:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_RADIO_SIGNAL_CALLBACK_ACTION_END, /**&amp;lt; End the current radio timeslot. */
NRF_RADIO_SIGNAL_CALLBACK_ACTION_REQUEST_AND_END /**&amp;lt; Request a new radio timeslot and end the current timeslot. */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For the differences between the two asserts I asked one of our Softdevice developers and this was the explanation he gave:&lt;/p&gt;
&lt;div style="padding-left:30px;"&gt;&lt;em&gt;0x01505c is an assert in the REM low architectural level, it can happen if a role (bluetooth advertiser, bluetooth connection ++, or timeslot api) spends more time than they requested.&lt;/em&gt;&lt;br /&gt;&lt;em&gt; This assert can happen if the application disables interrupt globaly at unfortunate times, or has missconfigured one of its interrupts to have highest priority.&lt;/em&gt;&lt;br /&gt;&lt;em&gt; 0x025b94 is in the timeslot api implementation, so higher up in the architecture than 0x01505c, it tries to &amp;quot;catch&amp;quot; when the application has spent to much time in its timeslot. Keep in mind you might get 0x01505c instead of 0x025b94 if you spend to much time in a timeslot.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;So as you can see both asserts are kind of intertwine, and indicate that the application has overstayed its allocated timeslot. Have you tried to debug your timeslot implementation in some way?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Marjeris&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/264206?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 09:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4645926e-4163-47a2-94b4-cb260e0ce651</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Of course, I know that both assertions are related to a kind of OVERSTAY.&lt;/p&gt;
&lt;p&gt;And Hakon said following.&lt;/p&gt;
&lt;p&gt;0x25B94 means overstaying in the p_radio_signal_callback handler itself while&lt;br /&gt;0x1505C means overstaying in timeslot, which means&amp;nbsp;NRF_RADIO_SIGNAL_CALLBACK_ACTION_END is returned late.&lt;/p&gt;
&lt;p&gt;BUT I got 0x25B94&amp;nbsp;in my test with that sample code.&lt;br /&gt;As you can see, it returns from the &lt;span&gt;p_radio_signal_callback handler &lt;/span&gt;as soon as possible.&lt;br /&gt;It&amp;#39;s contrary to Hakon&amp;#39;s explanation and that&amp;#39;s my question.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/264194?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 09:09:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a933eaf5-666d-46d2-a53a-9cd51cc88800</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Jake,&lt;/p&gt;
&lt;p&gt;Both assertions indicate that the application has overstayed its allocated timeslot, that&amp;#39;s why I suggested that you should try to add more margin.&lt;/p&gt;
&lt;p&gt;Something in the application must be sporadically blocking so the timeslot cannot finish on time. &lt;/p&gt;
&lt;p&gt;Check out this blogpost for more information about timeslot handling: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/running-micro-esb-concurrently-with-ble"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/running-micro-esb-concurrently-with-ble&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/264160?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 07:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26747a45-9567-4847-8ba0-bbb7e9c04c93</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/marjeris-romero"&gt;Marjeris Romero&lt;/a&gt; Dear Marjeris, do you have any question to my comment? or are you working on it? or was it forwarded to developers?&lt;br /&gt;Please update the progress.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/263735?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 00:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc4fb4b3-996c-4847-be1f-e93293b14d70</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Dear Marjeris,&lt;/p&gt;
&lt;p&gt;Please note that the code is written to show the error case which raises&amp;nbsp;assertion with PC 0x25B94 while PC&amp;nbsp;&lt;span&gt;0x1505C is expected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It might be answered by developer side who has the source code of softdevice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jake&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/263620?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 13:00:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1671ec5-986d-4c19-b2cd-960fdb20df6a</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi BS,&lt;/p&gt;
&lt;p&gt;Håkon is on vacation so I am taking over this case for now.&lt;/p&gt;
&lt;p&gt;Both asserts have to do with radio event manager in Timeslot API. From your code it doesn&amp;#39;t seem like you ending the timeslot, since only NRF_RADIO_SIGNAL_CALLBACK_ACTION_NONE is returned, but NRF_RADIO_SIGNAL_CALLBACK_ACTION_END is never returned.&lt;/p&gt;
&lt;p&gt;Perhaps the asserts can be resolved if stopping the timeslot a bit earlier?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/263503?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 00:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2ce110-43f1-4440-a50d-ccabf2475d77</guid><dc:creator>BS Gwak</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt; Dear Amanda, I saw that you were assigned to this issue. Would you let me know if there is any progress?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/262875?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 00:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e0367f2-4d8b-42d0-a836-f293c7eeadae</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hakon"&gt;Hakon&lt;/a&gt; Dear Hakon, would you please clarify following contradictions?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Contradiction 1&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;Hakon&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&amp;quot;assert 0x25B94 is that you spend too much time in the p_radio_signal_callback handler that is passed to sd_radio_session_open()&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;BS Gwak&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;assertion 0x25B94 is occurred, even when p_radio_signal_callback is returned ASAP.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Contradiction 2&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;Hakon&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;0x1505C it is likely because you don&amp;#39;t finish the time slot on time. Another explanation could be that you are locking interrupts for too long&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;BS Gwak&lt;br /&gt;0x1505C happens sporadically even though the time slot finishes on time and no interrupt locking.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/262279?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 05:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f0f0bd-ddd7-49ef-a43d-cfa7c6b1cc6d</guid><dc:creator>BS Gwak</dc:creator><description>&lt;p&gt;I tested it again.&lt;br /&gt;But I could get the&amp;nbsp;assertion with PC 0x25B94 with following code while expecting the assertion with PC&amp;nbsp;0x1505C.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The result is contrary to your explanation of &amp;quot;assert 0x25B94 is that you spend too much time in the p_radio_signal_callback handler&amp;quot; &amp;lt;== the signal handler returns shortly in my case.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please check &amp;#39;p_radio_signal_callback&amp;#39; handler that I tested.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;static nrf_radio_signal_callback_return_param_t*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;_radio_signal_callback(uint8_t sig)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_signal_callback_return_param.callback_action = NRF_RADIO_SIGNAL_CALLBACK_ACTION_NONE;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (sig)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case NRF_RADIO_CALLBACK_SIGNAL_TYPE_START:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* trigger task early, the rest of the setup can be done in RXRU */&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_EnableIRQ(RADIO_IRQn);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_RADIO-&amp;gt;PACKETPTR = (uint32_t)&amp;amp;ble_adv_data[0];&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_RADIO-&amp;gt;SHORTS = RADIO_SHORTS_READY_START_Msk | RADIO_SHORTS_END_DISABLE_Msk;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_RADIO-&amp;gt;INTENSET = RADIO_INTENSET_DISABLED_Msk;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NRF_RADIO-&amp;gt;TASKS_TXEN = 1;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case NRF_RADIO_CALLBACK_SIGNAL_TYPE_RADIO:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break; //for generating the SD assertion of the 0x25b94&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &amp;amp;g_signal_callback_return_param;&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: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/262148?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 09:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fbfda1e-5bf4-4f90-9a3a-13fba006a2e0</guid><dc:creator>BS Gwak</dc:creator><description>&lt;p&gt;Thank you for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In my test, assertion 0x25B94&amp;nbsp;is occurred, even when&amp;nbsp;&lt;span&gt;p_radio_signal_callback&amp;nbsp;is returned ASAP. I&amp;#39;ll test it again and get back to you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/262124?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 08:14:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5ae6488-1b90-4129-9149-c57d38e8a60a</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;What most likely happens when you get assert 0x25B94 is that you spend too much time in the p_radio_signal_callback handler that is passed to sd_radio_session_open().&lt;/p&gt;
&lt;p&gt;When you get 0x1505C it is likely because you don&amp;#39;t finish the time slot on time. Another explaination could be that you are locking interrupts for too long, preventing the TIMER- interrupts in the scheduler from being run. Just make sure that you are not spending too long in the critical region as you pointed out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/262083?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 02:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf493c13-238d-46fd-94e2-482d8e615fe3</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Ok. I will be waiting.&lt;/p&gt;
&lt;p&gt;Thank you for the update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/262042?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 15:14:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f18d6f-a737-4966-b687-7c82ff479288</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello, I will need to investigate this a bit before I can give you any meaningful answer. Most likely I will have an answer by tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/261863?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 00:36:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0332fe9c-1caa-403b-a5bc-ee67827a967c</guid><dc:creator>Jake Yun</dc:creator><description>&lt;p&gt;Hello Hakon,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working with BS, the first&amp;nbsp;questioner and I will narrow the question.&lt;/p&gt;
&lt;p&gt;1. According to your answer, assertion with&amp;nbsp;PC 0x1505C means &amp;quot;overstayed REM event&amp;quot;.&lt;/p&gt;
&lt;p&gt;2. As far as I know assertion with PC 0x25B94 means similar overstaying in REM event.&lt;/p&gt;
&lt;p&gt;3. I can reproduce assertion with PC 0x25B94 by not returning&amp;nbsp;&amp;#39;NRF_RADIO_SIGNAL_CALLBACK_ACTION_END&amp;#39; and that is clear to me.&lt;/p&gt;
&lt;p&gt;4. QUESTION, what is the difference between the assertions with PC&amp;nbsp;&lt;span&gt;0x1505C&amp;nbsp; and PC&amp;nbsp;0x25B94&amp;nbsp;?&lt;br /&gt;&amp;nbsp; &amp;nbsp; ( As you may know, Assertion with PC&amp;nbsp;0x1505C&amp;nbsp; does not happen by just not returning &amp;#39;XXXX_ACTION_END&amp;#39;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As BS mentioned, we are suffering from the assertion with PC 0x1505C&amp;nbsp;and I need to know exactly when it happens, to fix it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please leave the answer as soon as possible. The product is in service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/261861?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2020 09:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62ee3735-ffd5-4250-ad19-3daf3a3c7c71</guid><dc:creator>BS Gwak</dc:creator><description>&lt;p&gt;Is there any update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/261860?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 01:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5c0076b-ed52-424d-8da3-d4a32145c409</guid><dc:creator>BS Gwak</dc:creator><description>&lt;p&gt;Yes, timeslot is using and interrupts are disabled sometimes. However, because &amp;#39;CRITICAL_REGION&amp;#39; is used, I believe that it doesn&amp;#39;t affect on SD scheduling. Am I wrong?&lt;/p&gt;
&lt;p&gt;If I don&amp;#39;t return &amp;#39;NRF_RADIO_SIGNAL_CALLBACK_ACTION_END&amp;#39; properly, app fault in 0x25B94 is occurred.&lt;/p&gt;
&lt;p&gt;What is the difference between two faults?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application fault in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/261859?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 12:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23067038-178a-414a-af25-815a55cff9f1</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Would you let me know when this assertion is raised on SD?[/quote]
&lt;p&gt;&amp;nbsp;This is because of overstayed REM event. Are you using timeslot? Are you locking interrupts, etc?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>