<?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>not able to create three or more tasks in freeRTOS in nrf52832.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66925/not-able-to-create-three-or-more-tasks-in-freertos-in-nrf52832</link><description>hello, 
 I working on nrf52832. in that I am working in freeRTOS for example I am creating two tasks using a queue. but when I create the third task not able to run any debug processing I don&amp;#39;t know the task is created or not. and I already increased</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Oct 2020 12:44:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66925/not-able-to-create-three-or-more-tasks-in-freertos-in-nrf52832" /><item><title>RE: not able to create three or more tasks in freeRTOS in nrf52832.</title><link>https://devzone.nordicsemi.com/thread/274323?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 12:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:193450a8-72b0-4405-a6d3-3e9892a71980</guid><dc:creator>vivek machchhar</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;problem-solved I just increase the heap size. And also look for how to fix hardfault error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your valuable reply.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to create three or more tasks in freeRTOS in nrf52832.</title><link>https://devzone.nordicsemi.com/thread/274148?ContentTypeID=1</link><pubDate>Sat, 10 Oct 2020 18:39:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9300c80-3185-4d17-a091-cda682157e72</guid><dc:creator>www.FreeRTOS.org</dc:creator><description>&lt;p&gt;The return value of xTaskCreate() will be pdTRUE if the task was created, or pdFALSE if you ran out of FreeRTOS heap so couldn&amp;#39;t create the task.&amp;nbsp; You can also use a malloc failed hook to know if you ran out of heap&amp;nbsp;&lt;a href="https://www.freertos.org/a00016.html"&gt;https://www.freertos.org/a00016.html&lt;/a&gt;&amp;nbsp;.&amp;nbsp; How you increase the heap depends on which allocation scheme you are using&amp;nbsp;&lt;a href="https://www.freertos.org/a00111.html"&gt;https://www.freertos.org/a00111.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is information on debugging a hard fault here&amp;nbsp;&lt;a href="https://www.freertos.org/Debugging-Hard-Faults-On-Cortex-M-Microcontrollers.html"&gt;https://www.freertos.org/Debugging-Hard-Faults-On-Cortex-M-Microcontrollers.html&lt;/a&gt;&amp;nbsp;but more often than not having configASSERT() defined and stack overflow detection on will trap an error before it causes a fault - look through&amp;nbsp;this page of the FreeRTOS FAQ&amp;nbsp;&lt;a href="https://www.freertos.org/Debugging-Hard-Faults-On-Cortex-M-Microcontrollers.html"&gt;www.freertos.org/Debugging-Hard-Faults-On-Cortex-M-Microcontrollers.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to create three or more tasks in freeRTOS in nrf52832.</title><link>https://devzone.nordicsemi.com/thread/274049?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2020 13:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1857a44-0535-4a02-bf2f-927f9891994a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Did you use the debugger to find where, exactly, the Hard Fault occurred?&lt;/p&gt;
&lt;p&gt;The Hard Fault mechanism is a standard part of the Cortex-M4 core - not specific to Nordic.&lt;/p&gt;
&lt;p&gt;There are many resources on debugging Cortex-M Hard Faults; eg,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.arm.com/developer/ip-products/system/f/embedded-forum/3257/debugging-a-cortex-m0-hard-fault"&gt;https://community.arm.com/developer/ip-products/system/f/embedded-forum/3257/debugging-a-cortex-m0-hard-fault&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to create three or more tasks in freeRTOS in nrf52832.</title><link>https://devzone.nordicsemi.com/thread/274024?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2020 12:07:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d41a9031-07c4-495e-b263-b8846a36f2e0</guid><dc:creator>vivek machchhar</dc:creator><description>&lt;p&gt;hello awneil,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was getting hardfault but I don&amp;#39;t know why hardfault error occurred.&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;info&amp;gt; app: testing FreeRTOS example started.
00&amp;gt; &amp;lt;info&amp;gt; app: task 1 : 0
00&amp;gt; &amp;lt;error&amp;gt; hardfault: HARD FAULT at 0x0002B384
00&amp;gt; &amp;lt;error&amp;gt; hardfault: R0: 0x6B73618C R1: 0x200063B8 R2: 0x2000722C R3: 0x6B73618C
00&amp;gt; &amp;lt;error&amp;gt; hardfault: R12: 0x2000623C LR: 0x0002CB15 PSR: 0x01000000
00&amp;gt; &amp;lt;error&amp;gt; hardfault: Cause: Data bus error (PC value stacked for the exception return points to the instruction that caused the fault).&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to create three or more tasks in freeRTOS in nrf52832.</title><link>https://devzone.nordicsemi.com/thread/274004?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2020 11:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1b6b663-b595-4569-9467-6f23a7dabc40</guid><dc:creator>awneil</dc:creator><description>[quote userid="93052" url="~/f/nordic-q-a/66925/not-able-to-create-three-or-more-tasks-in-freertos-in-nrf52832"]only this much of print I got[/quote]
&lt;p&gt;So have you used the &lt;strong&gt;debugger&lt;/strong&gt; to see what&amp;#39;s happening ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>