<?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>Stack violation: stack pointer outside stack area.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54797/stack-violation-stack-pointer-outside-stack-area</link><description>Stack violation: stack pointer outside stack area. 
 Cause: Data bus error (PC value stacked for the exception return points to the instruction that caused the fault).Bus Fault Address: 0xDFFF2EFF 
 How can I resolve this error?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Nov 2019 12:10:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54797/stack-violation-stack-pointer-outside-stack-area" /><item><title>RE: Stack violation: stack pointer outside stack area.</title><link>https://devzone.nordicsemi.com/thread/222069?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 12:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d6a288-269a-479b-a581-434d214abf07</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, 8192 is the default, but some applications will require more. It might&amp;nbsp;also be&amp;nbsp;a bug in your app.&amp;nbsp;E.g.,&amp;nbsp;if it has called memcpy() or memset() with an invalid size input.&amp;nbsp; &amp;nbsp; Can you try to check where the stack pointer was when the fault exception was raised?&amp;nbsp;You may also set up the&amp;nbsp;&lt;a title="Stack guard" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_stack_guard.html?cp=6_1_3_50"&gt;Stack guard&lt;/a&gt;&amp;nbsp;to catch the overflow earlier. That will make it easier to find out where the overflow occurred. Just remember to run mpu_init() first so the MPU gets enabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack violation: stack pointer outside stack area.</title><link>https://devzone.nordicsemi.com/thread/221958?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 01:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f168984e-741d-4f55-901b-171b0cb9d9d0</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The stack is already 8192. I tried to make it bigger, but it still has no effect.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7725.3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack violation: stack pointer outside stack area.</title><link>https://devzone.nordicsemi.com/thread/221900?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2019 15:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad9744f2-c358-4b1c-b238-a1fb884f32b5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error indicates stack overflow. Have you tried to increase the call stack size in your project to see if it helps? Let me know what toolchain/IDE you use if you&amp;#39;re unsure about how you do it.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>