<?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>Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38105/using-sdk-15-0-and-freertos-8-2-1---stack-overflow-in-idle-task</link><description>Hi, I am using SDK 15.0.0 and FreeRTOS 8.2.1 (from SDK 14.2.0). 
 I consistently get a stack overflow on the Idle task, caused by PendSVHandler in port.c 
 
 This can be easily solved by increasing Idle task stack (configMINIMAL_STACK_SIZE), but I worry</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Sep 2018 04:52:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38105/using-sdk-15-0-and-freertos-8-2-1---stack-overflow-in-idle-task" /><item><title>RE: Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task</title><link>https://devzone.nordicsemi.com/thread/148511?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 04:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e114deef-cd63-463b-a714-f13b535a891a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Elkana,&lt;/p&gt;
&lt;p&gt;The thing is that i am not getting stack overflow in our examples. I believe you that you have not made any changes to the idle task but still able to trigger the stack overflow, which smells like a bug somewhere. In order for us to be able to fix it, we need to be able to reproduce it. I will send your recommendations to the team so that they also attempt to replicate the bug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task</title><link>https://devzone.nordicsemi.com/thread/148310?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 06:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e650450-4025-43e8-9d91-b3d0a82036a2</guid><dc:creator>Elkana</dc:creator><description>&lt;p&gt;As mentioned in the original post - increasing&amp;nbsp;&lt;span&gt;configMINIMAL_STACK_SIZE solves the issue.&lt;br /&gt;Nevertheless, the issue is likely in the SDK (as we added no code to Idle task) and it is not very easy to find (as any stack overflow bug)&amp;nbsp; - so&amp;nbsp;Nordic probably want to fix it&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task</title><link>https://devzone.nordicsemi.com/thread/147093?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 07:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac4c50d0-e6f1-493e-8232-43861b06f807</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;can you try to increase the&amp;nbsp;configMINIMAL_STACK_SIZE in your config file to see if it helps.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task</title><link>https://devzone.nordicsemi.com/thread/146974?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 12:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81498702-baff-4ed5-921b-9fa483dfd548</guid><dc:creator>Elkana</dc:creator><description>&lt;p&gt;I forgot to mention nothing is done in my vApplicationIdleHook.&lt;br /&gt;I do use&amp;nbsp;vApplicationStackOverflowHook - but this only happens AFTER the stack overflow (and use&amp;nbsp;very little stack).&lt;br /&gt;I am 99% sure&amp;nbsp;idle task&amp;nbsp;is overflowing while running SDK code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task</title><link>https://devzone.nordicsemi.com/thread/146969?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 12:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780db6df-3caa-43a4-940e-09a14666538b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;not sure if you are doing a lot of processing in idle hook in your app using some stack variables. You can benchmark your stack usage using some external tools.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>