<?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 Guard.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66630/stack-guard</link><description>I have a question on stack guard that I tried to enable on nRF52840 and hope you can give me some pointer to verify it is functioning properly. 
 
 Basically, I call nrf_stack_guard_init() and compare the behavior of code writing into the stack area.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Oct 2020 10:15:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66630/stack-guard" /><item><title>RE: Stack Guard.</title><link>https://devzone.nordicsemi.com/thread/272690?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 10:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e94fcd25-574f-4f78-8714-4eeecf9f4d39</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to use it with the MPU library like we do in the \peripheral\cli example. The stack guard libary relies on the MPU but assumes it will be enabled by other parts of the program.&lt;/p&gt;
&lt;p&gt;Stack guard init from CLI example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static inline void stack_guard_init(void)
{
    APP_ERROR_CHECK(nrf_mpu_lib_init());
    APP_ERROR_CHECK(nrf_stack_guard_init());
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack Guard.</title><link>https://devzone.nordicsemi.com/thread/272688?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 10:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:973f5b3f-ed7a-41a6-803b-90a233436267</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7711._5F00_Insert-Code-_2D00_-Nordic-2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>