<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックRe: _task_create showing unpredictable behavior</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818958#M17976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use MQX (and NXP no longer supports it) so you may need to contact the manufacturer for such problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3366ff;"&gt;uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="color: #3366ff;"&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;SPAN&gt; (including FreeRTOS integration and support)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 14:36:43 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2018-06-27T14:36:43Z</dc:date>
    <item>
      <title>_task_create showing unpredictable behavior</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818955#M17973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am using MK61 ( 1 MB flash) micro-controller for my application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am creating a Main Task , which creates other application tasks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;There are 8 tasks created other than my Main task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;When the 8th (final task) is created, the Main task is getting killed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;This was confirmed by calling the OS Call &lt;STRONG&gt;"task_get_id_from_name()" &lt;/STRONG&gt;from one of the running tasks&lt;STRONG&gt;.&amp;nbsp;&lt;/STRONG&gt;It shows '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Can you give some suggestions to see what exactly may be the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 10:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818955#M17973</guid>
      <dc:creator>kishu306</dc:creator>
      <dc:date>2018-06-26T10:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: _task_create showing unpredictable behavior</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818956#M17974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check task stack sizes to be adequate since this is a critical issue with such operating systems (they can corrupt each other if one is too small).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818956#M17974</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-26T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: _task_create showing unpredictable behavior</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818957#M17975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have increased the stack size to 5 times but no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am listing few scenarios which i tested. This may help you to understand the issue more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. Only the 8th task ( Task 'X') gives such problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. The issue still remains even after the order of task creation is rearranged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;3. The Task id for Task 'X' is displayed and its non-zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.&amp;nbsp; The task template structure is in properly created as mentioned in MQX User guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;The issue was seen even after the Task 'X' is only created. ( No other tasks are created)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Kishore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 04:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818957#M17975</guid>
      <dc:creator>kishu306</dc:creator>
      <dc:date>2018-06-27T04:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: _task_create showing unpredictable behavior</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818958#M17976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use MQX (and NXP no longer supports it) so you may need to contact the manufacturer for such problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3366ff;"&gt;uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="color: #3366ff;"&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;SPAN&gt; (including FreeRTOS integration and support)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 14:36:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818958#M17976</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-27T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: _task_create showing unpredictable behavior</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818959#M17977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I see at the NXP Webpage with a column on MQX Support. Pasting the pic for your reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64553iB5CEC7F56EC459AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Please confirm .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 04:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818959#M17977</guid>
      <dc:creator>kishu306</dc:creator>
      <dc:date>2018-06-28T04:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: _task_create showing unpredictable behavior</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818960#M17978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;A _jive_internal="true" data-content-finding="Community" data-userid="314422" data-username="kishu306" href="https://community.nxp.com/people/kishu306"&gt;kishore&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as Mark said,&amp;nbsp; I would suggest you check the stack size.&lt;/P&gt;&lt;P&gt;MQX can support more than 8 tasks. could you attach your code here, so I can reproduce your issue on my side?&lt;/P&gt;&lt;P&gt;Or you can submit a ticket , attached your project&amp;nbsp; to NXP technical support.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329745"&gt;https://community.nxp.com/docs/DOC-329745&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 04:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/task-create-showing-unpredictable-behavior/m-p/818960#M17978</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-06-28T04:32:37Z</dc:date>
    </item>
  </channel>
</rss>

