<?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>BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107603/busfault-in-bluetooth-rx-thread-with-bonding</link><description>I&amp;#39;m getting a BusFault with this call stack, I think because the connection pointer is out of range. This started happening after I tried to solve Windows issues by applying github.com/.../8bd36fc58955a210ede018c90e5993cca402472f</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Feb 2024 20:02:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107603/busfault-in-bluetooth-rx-thread-with-bonding" /><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/467659?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 20:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f54d4294-763d-43aa-915c-2ada6fa3d66a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Abraham, good to know that you do not see those errors anymore.&lt;/p&gt;
&lt;p&gt;Please create another thread for different topic to keep this thread readable to others&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/467487?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 00:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7acf04b-57bd-4a13-8662-9e12fa63dd24</guid><dc:creator>Abraham Hamidi</dc:creator><description>&lt;p&gt;Sorry, I had a lot going on coming back from a trade show. I don&amp;#39;t get those errors anymore, but I get frequent disconnects and trouble pairing sometimes. So I fixed that issue, but now I have the other. RSSI is good (-65), so I don&amp;#39;t know why I&amp;#39;m getting the pairing failed messages and the frequent disconnects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/465473?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77afe9f-9d34-43e6-8018-c364685c441c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Yes Abraham, I think so too. Good luck and please update us on your findings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/465438?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 19:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25ac844b-cd04-43ea-8e98-33a29765aed6</guid><dc:creator>Abraham Hamidi</dc:creator><description>&lt;p&gt;I didn&amp;#39;t know about stack sentinel. I&amp;#39;ll try that. Something I&amp;#39;m going to test now, I think my stack sizes could be too high, so the opposite, as I used to get messages of ble rx buffer being full, which I don&amp;#39;t get anymore. So it could be stack overflowing before the rx buffer even fills&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/465304?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 12:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b499749a-814a-4ff6-aa38-fb201c576a66</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Abraham,&lt;/p&gt;
&lt;p&gt;I thought that the issue was trigger by applying the git patch you mentioned in the main text. But then you are still getting the hardfault without the git patch. So what changed from the instance that you were not getting any hardfaults to suddently getting this hardfault?&lt;/p&gt;
&lt;p&gt;Is it possible that your application grew when you added new features and you need to increase the stack sizes for some threads?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Check if you have any &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.4/zephyr/kernel/services/other/fatal.html"&gt;stack overflows&lt;/a&gt; in your application by enabling &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.2-dev1/kconfig/CONFIG_STACK_SENTINEL.html"&gt;stack sentinel&amp;nbsp;&lt;/a&gt;and using&lt;a href="https://docs.zephyrproject.org/latest/services/debugging/thread-analyzer.html"&gt; thread analyzer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/465190?ContentTypeID=1</link><pubDate>Sun, 21 Jan 2024 01:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa2c63d-185c-4bcf-be0b-49fb2dcb076e</guid><dc:creator>Abraham Hamidi</dc:creator><description>&lt;p&gt;I lowered the rate of sending hid reports and there&amp;#39;s a new error now. UsageFault in sysworkq, no call stack:&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1705800129774v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I tried setting the system workqueue stack size very large, didn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BusFault in bluetooth rx thread with bonding</title><link>https://devzone.nordicsemi.com/thread/465189?ContentTypeID=1</link><pubDate>Sun, 21 Jan 2024 00:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1a72114-3546-465a-9d69-3eda8fde5f73</guid><dc:creator>Abraham Hamidi</dc:creator><description>&lt;p&gt;I unapplied the patch and I still get this busfault. Here&amp;#39;s the fault window:&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/pastedimage1705795977226v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>