<?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>SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78472/softdevice-assertion-failed-pc-0x00025b94</link><description>Hi all 
 
 So i had a working running example on SDK Thread and Zigbee V3.0.0. This flavor used the softdevice s140_nrf52_6.1.1_softdevice.hex I&amp;#39;ve migrated to the new SDK being nRF5_SDK_for_Thread_and_Zigbee_v4_1_0. I now use the soft device s140_nrf52_7</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Oct 2021 14:45:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78472/softdevice-assertion-failed-pc-0x00025b94" /><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/336537?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 14:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9facce21-79da-4b1f-bb23-2ff6f00c3615</guid><dc:creator>AshLabs</dc:creator><description>&lt;p&gt;This is resolved. Trying an example project which worked, then ported it over, and changed the transport layer to the -none variant. Thanks for the support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324891?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 15:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6831cf9-fb49-4da8-86c4-e0942993db55</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;HI Robbe,&amp;nbsp;&lt;br /&gt;Please double check on what return&amp;nbsp;&lt;span&gt;NRF_ERROR_INVALID_STATE&lt;/span&gt; , as I can see in the code&amp;nbsp;otSysInit() should not return any value it&amp;#39;s a void return function.&amp;nbsp;&lt;br /&gt;Please try to compare your application to our examples in the SDK to see if you can spot any difference that can cause the assert.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324724?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 19:44:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40083a5a-6009-4eb6-b440-13c93719ed9d</guid><dc:creator>AshLabs</dc:creator><description>&lt;p&gt;Update:&lt;br /&gt;This issue is related to the libUARTe.&lt;br /&gt;It&amp;#39;s necessary to set the interrupt priority for the&amp;nbsp;nrf_libuarte_async_config_t.&lt;br /&gt;eg.&amp;nbsp;.int_prio = 2.&lt;br /&gt;&lt;br /&gt;This is what was causing the&amp;nbsp;&lt;span&gt;0x15A80 SD assert.&lt;br /&gt;After some changes, my openthread&amp;nbsp;otSysInit() function is giving me&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRF_ERROR_INVALID_STATE.&lt;br /&gt;So i hope after fixing this, that im fully up and running.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324629?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 10:02:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5805e7e-fdd6-4514-8522-f78a7235885e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Robbe,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;0x15A80 points to Radio Event Manager. It&amp;#39;s an assert about timing of the radio.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you mentioned disable Openthread function, do you mean you disable completely the operation of Thread stack or you simply disable any activity in the application related to Thread ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I would suggest to try testing using our example in the SDK just so that you have a platform that can run both BLE and Thread, after that you can start adding your feature /custom service in.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Again, make sure you configure the interrupt priority with correct level (App High/ App Low).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324624?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 09:54:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e3d0cb-a946-4868-b6fb-b7d5f116158c</guid><dc:creator>AshLabs</dc:creator><description>&lt;p&gt;Ok update. I Disabled the Advertisement block -&amp;gt; No change.&lt;br /&gt;I&amp;#39;ve disabled the Openthread functions -&amp;gt;&amp;nbsp;&lt;span&gt;0x00025B94 PC error went away.&lt;br /&gt;So it&amp;#39;s coupled to the Openthread stack. I have the room to leave this disabled to meet my deadline, so i will investigate further.&lt;br /&gt;&lt;br /&gt;I now use the NUS service to communicate between RS485 and a BLE device. While this flow works, i now sometimes get a softdevice assert with 0x15A80.&lt;br /&gt;Back to searching for this issue.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324539?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 16:20:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0093ed1b-8b52-4fce-a695-a7ea7de52d23</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;OK I see. I would suggest to try reduce the time you take to handle interrupt. The way the Thread and BLE work together is by using timeslot. I suspect that the could be some timeslot violation here causing the issue.&lt;/p&gt;
&lt;p&gt;If you spend lots of time handling interrupt you may try to reduce that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can temporarily remove some of the features in your application one by one to check if it is the cause of the crash.&amp;nbsp;&lt;br /&gt;I don&amp;#39;t think it&amp;#39;s WDT. If the WDT triggers you will just have a reset.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324516?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 14:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0bcb556-bb56-4021-8a8f-2e2f938b7d81</guid><dc:creator>AshLabs</dc:creator><description>&lt;p&gt;Hey Hung,&lt;/p&gt;
&lt;p&gt;The INVALID MEMORY ACCESS error can be ignored (i cannot edit my original post). This was printed since i accidentally removed the break in this switch case.&lt;br /&gt;&lt;br /&gt;Im running the Bluetooth stack together with openthread.&lt;br /&gt;So it&amp;#39;s using the multiprotocol stack, 802.15.4 alongside BLE.&lt;/p&gt;
&lt;p&gt;So it&amp;#39;s not a memory access issue.&lt;br /&gt;From the other issues regarding the same PC error address, i&amp;#39;d surely say it would be the hardfault handler.&lt;br /&gt;&lt;br /&gt;Now the question is why the hardfault handler is called. Is it a WDT issue ?&lt;br /&gt;I would think it would be an assert, but question is from which block..&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried correlating it with the advertisement updating i&amp;#39;m doing. But that does not seem to be correlated time-wise.&lt;br /&gt;The timestams on the issue are not deterministic. I will give you some crash times since boot:&lt;br /&gt;- 90 seconds&lt;br /&gt;- 40 seconds&lt;br /&gt;- at 120 seconds everything just froze up&lt;br /&gt;- 73 seconds&lt;br /&gt;- 32 seconds&lt;/p&gt;
&lt;p&gt;The application has openthread communication, i2c communication running constantly, libuarte for rs485 communication running, NUS over BLE running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE: ASSERTION FAILED pc: 0x00025B94</title><link>https://devzone.nordicsemi.com/thread/324508?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 13:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3193f53-849b-4975-882a-de69428d2bf6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Robbe,&amp;nbsp;&lt;br /&gt;We don&amp;#39;t have a particular function at location&amp;nbsp;&lt;span&gt;0x00025B94 but it pretty close to the hardfault handler inside the softdevice.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We would need to look into what the application doing the can potentially cause the invalid memory access issue.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you explain what you meant by BLE + OT ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;How long it would take for the issue to occur ?&amp;nbsp;&lt;br /&gt;You may want to try disabling some of the program features to check if the issue occurs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is it possible that the program access memory that occupied by the softdevice ? Or if you call a softdevice APIs with some variables that&amp;nbsp;supposed to retain their values but they are not ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>