<?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>Classic/Legacy CodeWarriorのトピックRe: How can I get the information about RAM use in CW</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159255#M2583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;Yes, the info would be in the map file. For the HCS12(X) tools, you can find the size figures for ROM and RAM in the Module Statistic section of the map.&lt;BR /&gt;&lt;BR /&gt;If you are using a different toolset, remember that we don't know what you're using until &lt;FONT color="#FF3300"&gt;you inform us by mentioning the target MCU and the CodeWarrior version in the subject line of your post&lt;/FONT&gt;. Thank you.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by J2MEJediMaster on &lt;SPAN class="date_text"&gt;2008-05-27&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:14 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2008 03:10:20 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2008-05-28T03:10:20Z</dc:date>
    <item>
      <title>How can I get the information about RAM use in CW</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159254#M2582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I want to know how many bytes of RAM I have been used in may program,Is it in the .map file?&lt;/DIV&gt;&lt;DIV&gt;Where the information located? Please tell me thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 20:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159254#M2582</guid>
      <dc:creator>commandoccz</dc:creator>
      <dc:date>2008-05-27T20:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the information about RAM use in CW</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159255#M2583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;Yes, the info would be in the map file. For the HCS12(X) tools, you can find the size figures for ROM and RAM in the Module Statistic section of the map.&lt;BR /&gt;&lt;BR /&gt;If you are using a different toolset, remember that we don't know what you're using until &lt;FONT color="#FF3300"&gt;you inform us by mentioning the target MCU and the CodeWarrior version in the subject line of your post&lt;/FONT&gt;. Thank you.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by J2MEJediMaster on &lt;SPAN class="date_text"&gt;2008-05-27&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:14 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 03:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159255#M2583</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2008-05-28T03:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the information about RAM use in CW</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159256#M2584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This is my map file ,Can you tell me ,How many RAM I have used ,Thanks,I can not locate the&amp;nbsp;place of&amp;nbsp; the information&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 09:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159256#M2584</guid>
      <dc:creator>commandoccz</dc:creator>
      <dc:date>2008-05-29T09:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the information about RAM use in CW</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159257#M2585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi commandoccz,&lt;BR /&gt;&lt;BR /&gt;Here is the relevant section:&lt;BR /&gt;&lt;BR /&gt;Summary of section sizes per section type:&lt;BR /&gt;READ_ONLY (R):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6EC (dec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1772)&lt;BR /&gt;READ_WRITE (R/W):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 112 (dec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 274)&lt;BR /&gt;NO_INIT (N/I):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18B (dec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 395)&lt;BR /&gt;&lt;BR /&gt;The READ_WRITE bit.&lt;BR /&gt;Most of this is of course is the ALLOCATED stack space which bears no relation to the REQUIRED amount.&lt;BR /&gt;&lt;BR /&gt;So your USAGE is 18 bytes plus however much is required by the deepest stack usage.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 18:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159257#M2585</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-05-29T18:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the information about RAM use in CW</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159258#M2586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The RAM usage is slightly more than Peg has indicated.&amp;nbsp; The NO_INIT variables&amp;nbsp;also&amp;nbsp;use RAM.&amp;nbsp; So total RAM usage would be 669 bytes, including the allowance made for the stack.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 08:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159258#M2586</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-05-30T08:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the information about RAM use in CW</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159259#M2587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Actually no, the NO_INIT consists mostly of memory mapped registers, not of RAM.&lt;BR /&gt;What I usually look at is "OBJECT LIST SORTED BY ADDRESS" section, there the way the application uses the memory is most visible, and it is usually also apparent when things end up at the wrong spot...&lt;BR /&gt;&lt;BR /&gt;The other lists are fine, but having the memory mapped registers in the listing hides the user part quite a bit :smileysad: Unfortunately, the there is nothing in the ELF format which would allow the linker to differentiate memory mapped registers with absolutely allocated variables (another :-().&lt;BR /&gt;Note that the READ_WRITE number contains basically all initialized variables, it does especially also include the zero initialized variables (.bss) (it does not include variables located in a NO_INIT or PAGED segment, and it does not include non initialized absolutely allocated globals).&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 10:54:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-can-I-get-the-information-about-RAM-use-in-CW/m-p/159259#M2587</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-05-30T10:54:17Z</dc:date>
    </item>
  </channel>
</rss>

