<?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>MPU FAULT during gatt service discovery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102505/mpu-fault-during-gatt-service-discovery</link><description>I&amp;#39;m trying to connect to 15 BLE devices. I&amp;#39;ve followed the code at: https://github.com/NordicMatt/multi-NUS/ but have modified it to filter by the device name and then write to a specific characteristic once it has discovered the services. I&amp;#39;m using a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Oct 2023 01:18:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102505/mpu-fault-during-gatt-service-discovery" /><item><title>RE: MPU FAULT during gatt service discovery</title><link>https://devzone.nordicsemi.com/thread/450168?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 01:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2c4ddd-ee9a-4e4b-aa29-5cfadcc1017f</guid><dc:creator>tiva4c</dc:creator><description>&lt;p&gt;Make&amp;nbsp;struct bt_gatt_write_params write_params global because the params should be kept&amp;nbsp;valid, it&amp;#39;ll solve the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU FAULT during gatt service discovery</title><link>https://devzone.nordicsemi.com/thread/439842?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 08:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52dbf279-c345-41bd-90c9-f9fa617a3710</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This looks like a stack overflow with the call stack most likely not giving a meaningful info. But it is interesting to see this info from the fault handler&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:13.189,788] &amp;lt;err&amp;gt; os: Current thread: 0x200021c0 (BT RX)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can you try to increase the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_CTLR_RX_PRIO_STACK_SIZE"&gt;BT_CTLR_RX_PRIO_STACK_SIZE&lt;/a&gt;&amp;nbsp;and do a prestine build and see if it can solve the issue. I am quite confident that this seems to be one of the stack overflow issue. But which stack, that is something we need to find out by debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>