Hi,
I'm using microcontroller Coldfire MCF52258CAG66 and IDE Code Warrior Version 5.9.0.
I would like to know how much ROM & RAM I'm utizilizing in my application.
Here is the map file:
-------------------------------------------------------------
# Memory map:
v_addr p_addr size name
00006100 00006100 00000400 .vectors vectorrom
00006500 00006500 0005E518 .main_application rom
0007FFFC 0007FFFC 00000004 .flashprot endflashrom
20000000 00064A18 000009E4 .main_application_data ram
200009E4 200009E4 00003868 .main_application_bss ram
2000424C 2000424C 00000000 .kernel_data ram
2000FFF0 2000FFF0 00000000 .end_of_kernel_data end_of_kd
2000FA00 2000FA00 00000000 .boot_stack bstack
2000FBFC 2000FBFC 00000000 .end_of_boot_stack end_bstack
2000FBFC 000653FC 00000018 .romp end_bstack
--------------------------------------------------------------
Also let me know if there is a feature in codewarrior to check RAM usage.
Thank you,
Mubashir
Hi,
From the memory file you attached, it seems that ROM is from 6100 to 65414 and the RAM is from 20000000 to 2000424C
You should add p_addr and size in the file to get the count.
PS: the address before 0x20000000 is ROM.