<?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>pstorage Store Crashing with FreeRTOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12736/pstorage-store-crashing-with-freertos</link><description>I am trying to get the pstorage module to work with our application and FreeRTOS. At the moment I keep crashing on port_cmsis::prvTaskExitError(). 
 The pstorage documentation here SDK Doc lists several limitations a couple of which I feel maybe the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Apr 2016 19:35:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12736/pstorage-store-crashing-with-freertos" /><item><title>RE: pstorage Store Crashing with FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/48357?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2016 19:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7312e6e-eac3-4962-a2b1-d0a80fc3ec97</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Turns out this wasn&amp;#39;t an issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pstorage Store Crashing with FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/48356?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2016 04:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ec7092-08d0-4bb5-ba29-874db80c75a5</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;RK,&lt;/p&gt;
&lt;p&gt;The task exit only occurs when I execute a pstorage store operation.  If this line is called then the task doesn&amp;#39;t exit.  My feeling is stack corruption but I&amp;#39;m pretty sure it&amp;#39;s not a stack overflow.  I allocated a huge stack for the task and it still occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pstorage Store Crashing with FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/48355?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2016 02:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5170cb9-cb3e-4edf-bf0f-41d22a190109</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I doubt either of those two things are your problem. Guessing you meant &amp;quot;but the scheduler isn&amp;#39;t&amp;quot; not &amp;quot;buy the scheduler&amp;quot;, pstorage isn&amp;#39;t tied to the scheduler so it doesn&amp;#39;t matter whether you use it or not, as long as something is servicing the pstorage events. And I don&amp;#39;t know what you meant to type about Power Off but all that&amp;#39;s telling you is the pstorage module doesn&amp;#39;t handle putting the device into system off mode, ie it contains no code for waiting until flash operations are finished before allowing the chip to power down, if you wanted system off mode, you&amp;#39;d have to deal with that yourself.&lt;/p&gt;
&lt;p&gt;If you are getting prvTaskExitError() it&amp;#39;s because one of your tasks is trying to exit, you can&amp;#39;t do that in FreeRTOS, they must effectively be forever while loops.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pstorage Store Crashing with FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/48354?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 23:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b19480-4bbe-4cb8-9357-1a53d8ef5448</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;I stopped sleeping the processor and this didn&amp;#39;t resolve the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>