<?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のトピックMQX - Task Stack Size</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199364#M4340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guyz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to MQX RTOS and i am working on MQX 3.0(MCF52259 DemoKit).&lt;/P&gt;&lt;P&gt;how exactly can i set stack size when creating the task?.&lt;/P&gt;&lt;P&gt;can any one explain me regarding that?.&lt;/P&gt;&lt;P&gt;is there any way to find out with trial and error method?&lt;/P&gt;&lt;P&gt;if yes how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vijayaragavan S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 May 2010 12:03:40 GMT</pubDate>
    <dc:creator>Vijayaragavan</dc:creator>
    <dc:date>2010-05-12T12:03:40Z</dc:date>
    <item>
      <title>MQX - Task Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199364#M4340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guyz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to MQX RTOS and i am working on MQX 3.0(MCF52259 DemoKit).&lt;/P&gt;&lt;P&gt;how exactly can i set stack size when creating the task?.&lt;/P&gt;&lt;P&gt;can any one explain me regarding that?.&lt;/P&gt;&lt;P&gt;is there any way to find out with trial and error method?&lt;/P&gt;&lt;P&gt;if yes how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vijayaragavan S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 12:03:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199364#M4340</guid>
      <dc:creator>Vijayaragavan</dc:creator>
      <dc:date>2010-05-12T12:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: MQX - Task Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199365#M4341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have 3 possibilities:&lt;/P&gt;&lt;P&gt;1) guess and exagurate to be sure that the size will never be overrun&lt;/P&gt;&lt;P&gt;2) analytically check the size of subsequent calls and their stack size; however- for large numbers of nested calls and their variations this is not trivial&lt;/P&gt;&lt;P&gt;3) do 1) and consequently use MQX TAD and look for stack usage, where the used column can tell you the max. watermark level of the stack.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:55:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199365#M4341</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-05-12T13:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: MQX - Task Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199366#M4342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right but TAD needs CW professional edition &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;I use kernel logging features, enable by&amp;nbsp; &lt;STRONG&gt;MQX_KERNEL_LOGGING&lt;/STRONG&gt; and &lt;STRONG&gt;MQX_MONITOR_STACK&lt;/STRONG&gt; (needs to compile MQX libraries),&amp;nbsp; then use &lt;EM&gt;&lt;STRONG&gt;_klog_show_stack_usage()&lt;/STRONG&gt;&lt;/EM&gt; in your application to output messages on stdout device, it gives an idea about stack memory consumption.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Emmanuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 14:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199366#M4342</guid>
      <dc:creator>Nouchi</dc:creator>
      <dc:date>2010-05-12T14:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: MQX - Task Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199367#M4343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every body&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to catch a bug through ebabling &lt;STRONG&gt;&lt;SPAN&gt;MQX&lt;/SPAN&gt;_KERNEL_LOGGING&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;SPAN&gt;MQX&lt;/SPAN&gt;_MONITOR_STACK and&lt;/STRONG&gt; use &lt;EM&gt;&lt;STRONG&gt;_&lt;SPAN&gt;klog&lt;/SPAN&gt;_show_stack_usage() but I´'ve got this error message:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link Error&amp;nbsp;&amp;nbsp; : Undefined : "_klog_get_task_stack_usage"&lt;BR /&gt;Referenced from "spi2_task_Entry" in&lt;BR /&gt;&lt;BR /&gt;Link Error&amp;nbsp;&amp;nbsp; : Undefined : "_klog_show_stack_usage"&lt;BR /&gt;Referenced from "spi2_task_Entry" in&lt;BR /&gt;&lt;BR /&gt;Link failed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I appreciate any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 05:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199367#M4343</guid>
      <dc:creator>javax</dc:creator>
      <dc:date>2010-12-23T05:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: MQX - Task Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199368#M4344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ensure that MQX_KERNEL_LOGGING is set to one in your user_config.h file and that "c:\Program Files\Freescale\Freescale MQX 3.6\mqx\source\klog\kl_stack.c" is compiled in you psp library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also is always better to use the latest MQX version (currently 3.6.2) . I think that stack usage check function was not included in the MQX 3.0.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PetrL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 05:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199368#M4344</guid>
      <dc:creator>PetrL</dc:creator>
      <dc:date>2011-01-03T05:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: MQX - Task Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199369#M4345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks PetrL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I carried out a whole MQX library recompilation and now klog functions are working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 01:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-Stack-Size/m-p/199369#M4345</guid>
      <dc:creator>javax</dc:creator>
      <dc:date>2011-01-04T01:49:37Z</dc:date>
    </item>
  </channel>
</rss>

