<?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 Controller ASSERT filename/linenumber</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111956/softdevice-controller-assert-filename-linenumber</link><description>Hi, 
 
 I am debugging an application whth MPSL enabled and occasionally get this error: 
 E: SoftDevice Controller ASSERT: 48, 190 
 E: ***** HARD FAULT ***** E: Fault escalation (see below) E: ARCH_EXCEPT with reason 3 
 E: r0/a1: 0x00000003 r1/a2:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2024 10:21:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111956/softdevice-controller-assert-filename-linenumber" /><item><title>RE: Softdevice Controller ASSERT filename/linenumber</title><link>https://devzone.nordicsemi.com/thread/488283?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 10:21:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d12447-2e8b-4f32-878a-aa6f589dd468</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are several Bluetooth related threads, the easiest way to see which priroty they all have is to look at the thrad viewer:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718101201533v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Most of these priorities can be&amp;nbsp;modified&amp;nbsp;via Kconfig (like CONFIG_BT_RX_PRI for the RX thread).&lt;/p&gt;
[quote user="Jonathan E"]Also, can it be caused by the fact that I am connected to six devices at the same time with coded phy enabled?[/quote]
&lt;p&gt;Yes, I cannot say exactly what the issue is, but the more that has to be scheduled, the higher the likelihood that a bug will manifest itself as there is less headroom.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller ASSERT filename/linenumber</title><link>https://devzone.nordicsemi.com/thread/488086?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 10:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4874214-ad8e-43b0-8bd8-f46f923ce357</guid><dc:creator>Jonathan E</dc:creator><description>&lt;p&gt;Do you know which priority the BT-thread has by default?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, can it be caused by the fact that I am connected to six devices at the same time with coded phy enabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller ASSERT filename/linenumber</title><link>https://devzone.nordicsemi.com/thread/488083?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 10:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d8240ad-9153-4307-b21c-5e3d4c199f97</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have checked the assert, and it is caused by an overstay event in the scheduler in MPSL. This is because the MPSL has been pevented from doing a task on time. This can often be caused by debugging as&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt;&amp;nbsp; described, but also by othe rsame or higher priority threads or interrupts. The assert itself does not tell us more about what caused this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller ASSERT filename/linenumber</title><link>https://devzone.nordicsemi.com/thread/488042?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 08:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f48a95f5-4cb4-4bfa-83e2-b8dc62e0d107</guid><dc:creator>Jonathan E</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your reply. Debugging is not active in my case. I am allowing up to 6 connections with coded phy enabled. The speed is set to 0x0028 at first when connecting to a device, but is slowed down to&amp;nbsp;0x01f4 after discovery is completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller ASSERT filename/linenumber</title><link>https://devzone.nordicsemi.com/thread/488039?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 08:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecd5af41-5962-4944-9fc5-172b18ab06a9</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Softdevice Asserts usually originate from the softdevice not being able to meet required BTLE timings - VERY common when debugging since that disables the MCU core. That means you cannot &amp;quot;continue&amp;quot; from a breakpoint whenever BTLE was active.&lt;/p&gt;
&lt;p&gt;Workaround is to setup logging so you never &lt;em&gt;have&lt;/em&gt; to continue after hitting a breakpoint - or to not have BTLE enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>