<?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>ACL Buffer Overflow Results in SVC Exception Triggered by BT RX Task</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106609/acl-buffer-overflow-results-in-svc-exception-triggered-by-bt-rx-task</link><description>We are experiencing an issue in which the available number of HCI Driver ACL buffers reaches 0 during modes of operation on our device that require higher volume of traffic over BLE. This highlighted some design issues we had but the failure mode that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Feb 2024 16:13:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106609/acl-buffer-overflow-results-in-svc-exception-triggered-by-bt-rx-task" /><item><title>RE: ACL Buffer Overflow Results in SVC Exception Triggered by BT RX Task</title><link>https://devzone.nordicsemi.com/thread/469106?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 16:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:760e4f9a-2247-4a69-a39b-3f903683a5e6</guid><dc:creator>csheaupdesigns</dc:creator><description>&lt;p&gt;Hello, it has been a long time since I visited on this issue but I wanted to return to it so I can close things out.&amp;nbsp; We have been running with increased MTU buffers and resolved the MTU size negotiations in our build and things are working fine.&amp;nbsp; However, I would like to understand the root cause of the issue a little better in case something similar happens in the future.&amp;nbsp; I have added responses to the questions I can answer but need a little guidance with one of them.&amp;nbsp; Please see below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/106609/acl-buffer-overflow-results-in-svc-exception-triggered-by-bt-rx-task/461177"]&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;the BT RX thread issues an SVC instruction and the application ends up running the exception handler.&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Do you have any log output that prints the&amp;nbsp;&lt;span&gt;exception&amp;nbsp;info?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Is there a logging configuration that I can use to enable printing of this information?&amp;nbsp;&amp;nbsp;Is there a specific piece of information you are looking for?&amp;nbsp; I believe when I get into the handler, all that is known is that an SVC instruction was issued.&amp;nbsp; But if you have something I can add to try to get more information, I&amp;#39;m all ears.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/106609/acl-buffer-overflow-results-in-svc-exception-triggered-by-bt-rx-task/461177"]What version of nRF Connect SDK are you using?[/quote]
&lt;p&gt;Zephyr:&amp;nbsp; v3.3.99-ncs1-rc2&lt;/p&gt;
&lt;p&gt;nrfxlib:&amp;nbsp; v2.4.0&lt;/p&gt;
&lt;p&gt;nrf:&amp;nbsp; v2.4.0&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/106609/acl-buffer-overflow-results-in-svc-exception-triggered-by-bt-rx-task/461177"]&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;When using the BLE sniffer&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Do you have a sniffer log for when this issue occurs? Could you share the sniffer log?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Sniffer capture is attached.&amp;nbsp; You can see the last command is responded to at line no. 168943.&amp;nbsp; A command is sent down starting at 168944 and ending at 169038.&amp;nbsp; This command is not supposed to have a response.&amp;nbsp; But the command sent down on 169046 should and does not.&amp;nbsp; Retries are&amp;nbsp;attempted&amp;nbsp;every two seconds thereafter&amp;nbsp;for 100 seconds.&amp;nbsp; At that point, the app that is managing the firmware update seems to get into a bad state and the retries start to come at a higher frequency.&amp;nbsp; But, the exception occurs in the 5-10 seconds after the target stops responding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/FirmwareUpdate553b013to554-_2800_S9_2900_.pcapng"&gt;devzone.nordicsemi.com/.../FirmwareUpdate553b013to554-_2800_S9_2900_.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ACL Buffer Overflow Results in SVC Exception Triggered by BT RX Task</title><link>https://devzone.nordicsemi.com/thread/461177?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 00:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ad8d5b5-056b-42e3-a099-ba15cc3e3f9b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user=""]the BT RX thread issues an SVC instruction and the application ends up running the exception handler.[/quote]
&lt;p&gt;Do you have any log output that prints the&amp;nbsp;&lt;span&gt;exception&amp;nbsp;info?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What version of nRF Connect SDK are you using?&lt;/span&gt;&lt;/p&gt;
[quote user=""]When using the BLE sniffer[/quote]
&lt;p&gt;&lt;span&gt;Do you have a sniffer log for when this issue occurs? Could you share the sniffer log?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>