<?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>BLE - advertising and stack overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86566/ble---advertising-and-stack-overflow</link><description>Hi, 
 
 Sometimes, when I&amp;#39;m starting BLE advertising, I have an error of stack overflow of the BLE task. 
 Is that make sense that advertising may increase task usage? 
 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Apr 2022 13:48:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86566/ble---advertising-and-stack-overflow" /><item><title>RE: BLE - advertising and stack overflow</title><link>https://devzone.nordicsemi.com/thread/361874?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 13:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee1b4f85-8438-4861-bec9-e043effb2f57</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - advertising and stack overflow</title><link>https://devzone.nordicsemi.com/thread/361826?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 12:09:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d818117-4937-4563-9f69-7658a1b7d275</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do not have any SDK releases with version number 17.2. The closest numbers are nRF5 SDK 17.0.2, nRF5 SDK 17.1.0, and nRF Connect SDK 1.7.1.&lt;/p&gt;
&lt;p&gt;There are no references to OS_ERR_SYS_STACK in any of our SDKs. A web search indicates the error code might be used in embOS from Segger. In that case it has nothing to do with our SDKs. It may also be used in other SDKs or OSes from other organisations.&lt;/p&gt;
&lt;p&gt;If you are using functionality from e.g. our SoftDevice together with a third-party SDK or OS, then we might be able to give some pointers to what might be wrong in our end, but for any settings or configurations from that third-party product you need to contact the third-party for support. Most likely what you need is some setting to increase the stack size on that third-party system.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - advertising and stack overflow</title><link>https://devzone.nordicsemi.com/thread/361491?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 11:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4908d3fc-abd7-48a7-8853-cd954bc6ce44</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK 17.2.&lt;/p&gt;
&lt;p&gt;Error:&amp;nbsp;OS_ERR_SYS_STACK.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - advertising and stack overflow</title><link>https://devzone.nordicsemi.com/thread/361475?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 11:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f98d4eb-67d0-40fa-bb29-0d95c1ac7654</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Anything running on the device will use stack memory in some way, yes. It is possible that starting advertising can lead to a stack overflow error if there is too little space left on the stack. How memory is organized into one or more stacks can be different between different projects and between different SDKs.&lt;/p&gt;
&lt;p&gt;What SDK are you using, and what does the error look like?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>