"MAP"파일을 출력하도록 프로젝트를 설정하십시오. 이것은 모든 메모리 사용 정보를 제공합니다. CCS4에서 링커 옵션 아래의 "기본 옵션"프로젝트 속성이이를 수행합니다. 명령 행에서 "--map_file"을 사용하십시오.
맵 파일이 디버그 또는 릴리스 폴더에 나타납니다. 첫 번째 섹션은 아래의 예와 같이 각 메모리 섹션의 위치, 길이 및 사용을 보여줍니다. (예는 BT_FLASH, NV_FLASH 및 BI_FLASH의 3 가지 특수 섹션을 보여줍니다.)
이 섹션들이 어떻게 정의되는지 이해하려면 프로젝트의 링커 명령 파일을 참조하십시오.
예:
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
SFR 00000000 00000010 00000000 00000010 RWIX
PERIPHERALS_8BIT 00000010 000000f0 00000000 000000f0 RWIX
PERIPHERALS_16BIT 00000100 00000100 00000000 00000100 RWIX
INFOD 00001800 00000080 00000000 00000080 RWIX
INFOC 00001880 00000080 00000000 00000080 RWIX
INFOB 00001900 00000080 00000000 00000080 RWIX
INFOA 00001980 00000080 00000000 00000080 RWIX
RAM 00001c00 00004000 00003fea 00000016 RWIX
BT_FLASH 00005c00 00001000 00000f34 000000cc RWIX
NV_FLASH 00006c00 00000500 0000002a 000004d6 RWIX
BI_FLASH 00007100 00000100 00000010 000000f0 RWIX
FLASH 00007200 00008d80 00008d80 00000000 RWIX
INT00 0000ff80 00000002 00000000 00000002 RWIX
INT01 0000ff82 00000002 00000000 00000002 RWIX
INT02 0000ff84 00000002 00000000 00000002 RWIX
INT03 0000ff86 00000002 00000000 00000002 RWIX
INT04 0000ff88 00000002 00000000 00000002 RWIX
INT05 0000ff8a 00000002 00000000 00000002 RWIX
INT06 0000ff8c 00000002 00000000 00000002 RWIX
INT07 0000ff8e 00000002 00000000 00000002 RWIX
INT08 0000ff90 00000002 00000000 00000002 RWIX
INT09 0000ff92 00000002 00000000 00000002 RWIX
INT10 0000ff94 00000002 00000000 00000002 RWIX
INT11 0000ff96 00000002 00000000 00000002 RWIX
INT12 0000ff98 00000002 00000000 00000002 RWIX
INT13 0000ff9a 00000002 00000000 00000002 RWIX
INT14 0000ff9c 00000002 00000000 00000002 RWIX
INT15 0000ff9e 00000002 00000000 00000002 RWIX
INT16 0000ffa0 00000002 00000000 00000002 RWIX
INT17 0000ffa2 00000002 00000000 00000002 RWIX
INT18 0000ffa4 00000002 00000000 00000002 RWIX
INT19 0000ffa6 00000002 00000000 00000002 RWIX
INT20 0000ffa8 00000002 00000000 00000002 RWIX
INT21 0000ffaa 00000002 00000000 00000002 RWIX
INT22 0000ffac 00000002 00000000 00000002 RWIX
INT23 0000ffae 00000002 00000000 00000002 RWIX
INT24 0000ffb0 00000002 00000000 00000002 RWIX
INT25 0000ffb2 00000002 00000000 00000002 RWIX
INT26 0000ffb4 00000002 00000000 00000002 RWIX
INT27 0000ffb6 00000002 00000000 00000002 RWIX
INT28 0000ffb8 00000002 00000000 00000002 RWIX
INT29 0000ffba 00000002 00000000 00000002 RWIX
INT30 0000ffbc 00000002 00000000 00000002 RWIX
INT31 0000ffbe 00000002 00000000 00000002 RWIX
INT32 0000ffc0 00000002 00000000 00000002 RWIX
INT33 0000ffc2 00000002 00000000 00000002 RWIX
INT34 0000ffc4 00000002 00000000 00000002 RWIX
INT35 0000ffc6 00000002 00000000 00000002 RWIX
INT36 0000ffc8 00000002 00000000 00000002 RWIX
INT37 0000ffca 00000002 00000000 00000002 RWIX
INT38 0000ffcc 00000002 00000000 00000002 RWIX
INT39 0000ffce 00000002 00000000 00000002 RWIX
INT40 0000ffd0 00000002 00000000 00000002 RWIX
INT41 0000ffd2 00000002 00000002 00000000 RWIX
INT42 0000ffd4 00000002 00000002 00000000 RWIX
INT43 0000ffd6 00000002 00000002 00000000 RWIX
INT44 0000ffd8 00000002 00000002 00000000 RWIX
INT45 0000ffda 00000002 00000002 00000000 RWIX
INT46 0000ffdc 00000002 00000002 00000000 RWIX
INT47 0000ffde 00000002 00000002 00000000 RWIX
INT48 0000ffe0 00000002 00000002 00000000 RWIX
INT49 0000ffe2 00000002 00000002 00000000 RWIX
INT50 0000ffe4 00000002 00000002 00000000 RWIX
INT51 0000ffe6 00000002 00000002 00000000 RWIX
INT52 0000ffe8 00000002 00000002 00000000 RWIX
INT53 0000ffea 00000002 00000002 00000000 RWIX
INT54 0000ffec 00000002 00000002 00000000 RWIX
INT55 0000ffee 00000002 00000002 00000000 RWIX
INT56 0000fff0 00000002 00000002 00000000 RWIX
INT57 0000fff2 00000002 00000002 00000000 RWIX
INT58 0000fff4 00000002 00000002 00000000 RWIX
INT59 0000fff6 00000002 00000002 00000000 RWIX
INT60 0000fff8 00000002 00000002 00000000 RWIX
INT61 0000fffa 00000002 00000002 00000000 RWIX
INT62 0000fffc 00000002 00000002 00000000 RWIX
RESET 0000fffe 00000002 00000002 00000000 RWIX
FLASH2 00010000 00035c00 0000aa80 0002b180 RWIX