Brian Espenschied

HC08: How do you tell how much EEPROM and RAM your code is using

Discussion created by Brian Espenschied on Sep 23, 2006
Latest reply on Sep 28, 2006 by CrasyCat
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:

Summary of section sizes per section type:
READ_ONLY (R): 734 (dec: 1844)
READ_WRITE (R/W): 4D (dec: 77)
NO_INIT (N/I): 27 (dec: 39)

This looks like what I am looking for, but does it include every location used?
I assume READ_ONLY is EEPROM, READ_WRITE is RAM

Is the 39 Bytes in the NO_INIT section included in the totals for EEPROM and/or RAM?
Is there a better place to see this info?

Thanks!

bcde

Message Edited by CrasyCat on 2007-04-13 01:55 PM

Outcomes