<?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>topic Re: How do you tell how much EEPROM and RAM your code is using in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131169#M1127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The problem I am needing solved is:&lt;BR /&gt;If I am using a 32K FLASH version of a cpu to develope a project with and I want to downgrade to a CPU with a smaller FLASH and RAM how do I tell what my application is actually using so I can pick the best CPU to fit my RAM/FLASH requirements. There is no sense on using a 32K FLASH device when I only need 2K.&lt;BR /&gt;&lt;BR /&gt;From the report section I included in the original post It appears I need at least 1844 Bytes of FLASH, 77 Bytes of RAM and 39 Bytes of ??&lt;BR /&gt;&lt;BR /&gt;Is there a better way to find out EXACTLY what all resources my application is using?&lt;BR /&gt;&lt;BR /&gt;Brian&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2006 02:09:56 GMT</pubDate>
    <dc:creator>bespenschied</dc:creator>
    <dc:date>2006-09-27T02:09:56Z</dc:date>
    <item>
      <title>HC08: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131165#M1123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can not find any reference that tells where I can look to see how much EEPROM and RAM my program is using. I am using CW5.1 for the HC08. I am sure this information is easily accessed because I can't imagine anyone not needing to know this but I can't seem to locate it. I found the .map file and the following lines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Summary of section sizes per section type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;READ_ONLY (R): 734 (dec: 1844)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;READ_WRITE (R/W): 4D (dec: 77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NO_INIT (N/I): 27 (dec: 39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks like what I am looking for, but does it include every location used?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume READ_ONLY is EEPROM, READ_WRITE is RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the 39 Bytes in the NO_INIT section included in the totals for EEPROM and/or RAM?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a better place to see this info?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bcde&lt;/SPAN&gt;&lt;P&gt;Message Edited by CrasyCat on &lt;SPAN class="date_text"&gt;2007-04-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:55 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 13:20:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131165#M1123</guid>
      <dc:creator>bespenschied</dc:creator>
      <dc:date>2006-09-23T13:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131166#M1124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The place to see where the NO_INIT is comming from is your .PRM file.&lt;BR /&gt;It's possible it is RAM that you want to keep between resets, or it oculd be registers.&lt;BR /&gt;The PRM tells you where things are put in memory.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 18:26:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131166#M1124</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-09-25T18:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131167#M1125</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;Just my 10 cents on&amp;nbsp;that&amp;nbsp;one.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;READ_ONLY (R): 734 (dec: 1844): This includes code, constants and vector table entries.&lt;BR /&gt;READ_WRITE (R/W): 4D (dec: 77): This includes global variables and stack&lt;BR /&gt;NO_INIT (N/I): 27 (dec: 39): This includes I/O registers and data allocated in segments defined as NO_INIT in the .PRM file.&lt;BR /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 16:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131167#M1125</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-09-26T16:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131168#M1126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Come on Cat, you cost more than 10 cents !!!! &lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 19:21:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131168#M1126</guid>
      <dc:creator>Nabla69</dc:creator>
      <dc:date>2006-09-26T19:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131169#M1127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The problem I am needing solved is:&lt;BR /&gt;If I am using a 32K FLASH version of a cpu to develope a project with and I want to downgrade to a CPU with a smaller FLASH and RAM how do I tell what my application is actually using so I can pick the best CPU to fit my RAM/FLASH requirements. There is no sense on using a 32K FLASH device when I only need 2K.&lt;BR /&gt;&lt;BR /&gt;From the report section I included in the original post It appears I need at least 1844 Bytes of FLASH, 77 Bytes of RAM and 39 Bytes of ??&lt;BR /&gt;&lt;BR /&gt;Is there a better way to find out EXACTLY what all resources my application is using?&lt;BR /&gt;&lt;BR /&gt;Brian&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 02:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131169#M1127</guid>
      <dc:creator>bespenschied</dc:creator>
      <dc:date>2006-09-27T02:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131170#M1128</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;I would not care about the N/I.&lt;/DIV&gt;&lt;DIV&gt;These are usually just the I/O registers.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you want me to double check, just send me your application .map file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 16:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131170#M1128</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-09-27T16:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131171#M1129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Here is the whole .map file. I attached it.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 01:06:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131171#M1129</guid>
      <dc:creator>bespenschied</dc:creator>
      <dc:date>2006-09-28T01:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you tell how much EEPROM and RAM your code is using</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131172#M1130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;In your application you&amp;nbsp;are using&amp;nbsp;77 bytes of&amp;nbsp;RAM (29 byte of variable and 48 bytes of stack)&lt;/DIV&gt;&lt;DIV&gt;and 1844 bytes of Flash (1788 bytes of code, 22 bytes of constants and 34 bytes in vector table).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The size for NO_INIT element is related to I/O registers. So you do not have to care about that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 16:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-How-do-you-tell-how-much-EEPROM-and-RAM-your-code-is-using/m-p/131172#M1130</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-09-28T16:37:56Z</dc:date>
    </item>
  </channel>
</rss>

