<?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>CodeWarrior Development Tools中的主题 Re: How to enable &amp;quot;Stack Consumption Computation&amp;quot;</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717147#M6392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jay,&lt;/P&gt;&lt;P&gt;Please tell me the version of CW and the part number of your chip, also send your project to me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 03:23:49 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2018-05-30T03:23:49Z</dc:date>
    <item>
      <title>How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717140#M6385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read the help doc for&amp;nbsp;Stack Consumption Computation, yet still not know how to enable this feature. How to use this option"using -StackConsumption" ? Details with screenshots will help a lot. Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 03:55:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717140#M6385</guid>
      <dc:creator>jayyjyang</dc:creator>
      <dc:date>2018-05-24T03:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717141#M6386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is documented in the manual (see attached screenshot).&lt;/P&gt;&lt;P&gt;Keep in mind that this way is for the HCS08 compiler/linker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would like to do this say for ARM, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/08/21/gnu-static-stack-usage-analysis/" title="https://mcuoneclipse.com/2015/08/21/gnu-static-stack-usage-analysis/"&gt;GNU Static Stack Usage Analysis | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717141#M6386</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-05-24T16:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717142#M6387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Erich.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, I have read the manual. Just can't find out a place to "enable the linker option". I have never do anything about "the linker option".&lt;/P&gt;&lt;P&gt;That means I am stuck at step 1(see attached screenshot).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31410i182B188B7BB537EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 01:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717142#M6387</guid>
      <dc:creator>jayyjyang</dc:creator>
      <dc:date>2018-05-25T01:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717143#M6388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yang,&lt;/P&gt;&lt;P&gt;You can enable "Stack Consumption Computation" refer to the below path :&lt;/P&gt;&lt;P&gt;&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/33933i171722AC18B1EED9/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;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 01:51:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717143#M6388</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-05-25T01:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717144#M6389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Alice,&lt;/P&gt;&lt;P&gt;Thank you. It helps a lot.&lt;/P&gt;&lt;P&gt;And now I am at step 3. It outputs this(see the attached here):&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35951i9AFFD94C006C63C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So no"STACK CONSUMPTION COMPUTATION"section in the MAP file, and no "Maximum Stack Usage is calculated for following path" as the manual shows:(see the attached above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: BTW, what do the numbers mean in the "cpmu_init(3)(0)&amp;nbsp; ", and why there are two numbers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 02:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717144#M6389</guid>
      <dc:creator>jayyjyang</dc:creator>
      <dc:date>2018-05-25T02:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717145#M6390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yang,&lt;/P&gt;&lt;P&gt;- Please see the bottom of .map file , you will find&amp;nbsp; STACT CONSUMPTION .&lt;/P&gt;&lt;P&gt;- The meaning of numbers is :&lt;/P&gt;&lt;UL&gt;&lt;LI style="color: #666666;"&gt;&lt;SPAN style="color: #1f497d;"&gt;the first value after the function name represents the stack size required for calling that particular function from its caller (so basically the stack consumption of the ‘call’ itself)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #666666;"&gt;&lt;SPAN style="color: #1f497d;"&gt;the second value after the function name appears only for the leaf functions (functions that don’t call other functions) and represents the stack size consumed by that function&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 08:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717145#M6390</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-05-28T08:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717146#M6391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;Yes, I have checked the whole MAP file, including the bottom, just not there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;No&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;STACT CONSUMPTION at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Any idea how would this happen?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;PS: Here's the bottom of it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| &lt;BR /&gt; +- _Startup (see above)&lt;BR /&gt; &lt;BR /&gt;*********************************************************************************************&lt;BR /&gt;STATISTIC SECTION&lt;BR /&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;ExeFile:&lt;BR /&gt;--------&lt;BR /&gt;Number of blocks to be downloaded: 5&lt;BR /&gt;Total size of all blocks to be downloaded: 24740&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 05:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717146#M6391</guid>
      <dc:creator>jayyjyang</dc:creator>
      <dc:date>2018-05-29T05:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable "Stack Consumption Computation"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717147#M6392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jay,&lt;/P&gt;&lt;P&gt;Please tell me the version of CW and the part number of your chip, also send your project to me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 03:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-quot-Stack-Consumption-Computation-quot/m-p/717147#M6392</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-05-30T03:23:49Z</dc:date>
    </item>
  </channel>
</rss>

