共2条
1/1 1 跳转至页
lpc2138,Memory,Map lpc2138编译后的Memory Map
问
以下是lpc2138编译后的Memory Map ,我想知道它的rom区用了多少,ram区用了多少?但我这个Memory Map 我该怎么看!请你指教!
================================================================================
Memory Map of the image
Image Entry point : 0x00000000
Load Region ROM_LOAD (Base: 0x00000000, Size: 0x00002dd4, Max: 0xffffffff, ABSOLUTE)
Execution Region ROM_EXEC (Base: 0x00000000, Size: 0x00000844, Max: 0xffffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x00000000 0x00000120 Code RO 1 * vectors Startup.o
0x00000120 0x000000a8 Code RO 71 * !!! __main.o(c_a__un.l)
0x000001c8 0x000000e8 Code RO 8 .text target.o
0x000002b0 0x00000040 Code RO 40 .text main.o
0x000002f0 0x000002a0 Code RO 56 .text sed1335.o
0x00000590 0x00000008 Code RO 73 .text _no_redirect.o(c_a__un.l)
0x00000598 0x00000004 Code RO 75 .text use_no_semi.o(c_a__un.l)
0x0000059c 0x00000028 Code RO 77 .text kernel.o(c_a__un.l)
0x000005c4 0x00000018 Code RO 79 .text exit.o(c_a__un.l)
0x000005dc 0x000000fc Code RO 81 .text lib_init.o(c_a__un.l)
0x000006d8 0x000000fc Code RO 83 .text stkheap1.o(c_a__un.l)
0x000007d4 0x0000000c Code RO 85 .text libspace.o(c_a__un.l)
0x000007e0 0x00000010 Code RO 90 .text rt_fp_status_addr.o(c_a__un.l)
0x000007f0 0x00000014 Code RO 88 x$fpl$fpinit fpinit.o(f_a_p.l)
0x00000804 0x00000030 Data RO 92 Region$$Table anon$$obj.o
0x00000834 0x00000010 Data RO 93 ZISection$$Table anon$$obj.o
Execution Region IRAM (Base: 0x40000000, Size: 0x000029f4, Max: 0xffffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x40000000 0x00002580 Data RW 41 .data main.o
0x40002580 0x0000000f Data RW 57 .data sed1335.o
0x4000258f 0x00000001 PAD
0x40002590 0x00000004 Zero RW 58 .bss sed1335.o
0x40002594 0x00000060 Zero RW 86 .bss libspace.o(c_a__un.l)
0x400025f4 0x00000400 Zero RW 2 MyStacks Startup.o
Execution Region HEAP (Base: 0x400029f4, Size: 0x00000004, Max: 0xffffffff, ABSOLUTE, UNINIT)
Base Addr Size Type Attr Idx E Section Name Object
0x400029f4 0x00000004 Zero RW 3 Heap Startup.o
Execution Region STACKS (Base: 0x40002000, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE, UNINIT)
Base Addr Size Type Attr Idx E Section Name Object
0x40002000 0x00000000 Zero RW 4 Stacks Startup.o
Load Region LR$$Debug (Base: 0x00000000, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE)
Execution Region ER$$Debug (Base: 0x00000000, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x00000000 0x00000010 Dbug RW 7 .debug_abbrev Startup.o
0x00000010 0x000003ec Dbug RW 17 .debug_abbrev target.o
0x00000000 0x0000014c Dbug RW 16 .debug_frame target.o
0x0000014c 0x00000044 Dbug RW 55 .debug_frame main.o
0x00000190 0x000000f0 Dbug RW 70 .debug_frame sed1335.o
0x00000280 0x0000003c Dbug RW 72 .debug_frame __main.o(c_a__un.l)
0x000002bc 0x0000004c Dbug RW 74 .debug_frame _no_redirect.o(c_a__un.l)
0x00000308 0x00000044 Dbug RW 76 .debug_frame use_no_semi.o(c_a__un.l)
0x0000034c 0x00000058 Dbug RW 78 .debug_frame kernel.o(c_a__un.l)
0x000003a4 0x0000004c Dbug RW 80 .debug_frame exit.o(c_a__un.l)
0x000003f0 0x0000007c Dbug RW 82 .debug_frame lib_init.o(c_a__un.l)
0x0000046c 0x00000080 Dbug RW 84 .debug_frame stkheap1.o(c_a__un.l)
0x000004ec 0x00000044 Dbug RW 87 .debug_frame libspace.o(c_a__un.l)
0x00000530 0x0000004c Dbug RW 89 .debug_frame fpinit.o(f_a_p.l)
0x0000057c 0x0000004c Dbug RW 91 .debug_frame rt_fp_status_addr.o(c_a__un.l)
0x00000000 0x00000098 Dbug RW 5 .debug_info Startup.o
0x00000098 0x000000a0 Dbug RW 10 .debug_info target.o
0x00000138 0x00000108 Dbug RW 33 .debug_info target.o
0x00000240 0x000000e4 Dbug RW 29 .debug_info target.o
0x00000324 0x00000570 Dbug RW 13 .debug_info target.o
0x00000894 0x00000134 Dbug RW 25 .debug_info target.o
0x000009c8 0x000001b4 Dbug RW 48 .debug_info main.o
0x00000b7c 0x000000d0 Dbug RW 52 .debug_info main.o
0x00000c4c 0x000001d0 Dbug RW 63 .debug_info sed1335.o
0x00000e1c 0x000002bc Dbug RW 67 .debug_info sed1335.o
0x00000000 0x000000c8 Dbug RW 6 .debug_line Startup.o
0x000000c8 0x000000fc Dbug RW 9 .debug_line target.o
0x000001c4 0x0000011c Dbug RW 12 .debug_line target.o
0x000002e0 0x00000084 Dbug RW 24 .debug_line target.o
0x00000364 0x00000050 Dbug RW 28 .debug_line target.o
0x000003b4 0x00000050 Dbug RW 32 .debug_line target.o
0x00000404 0x000000b8 Dbug RW 47 .debug_line main.o
0x000004bc 0x000000d0 Dbug RW 51 .debug_line main.o
0x0000058c 0x000000bc Dbug RW 62 .debug_line sed1335.o
0x00000648 0x00000144 Dbug RW 66 .debug_line sed1335.o
0x00000000 0x000002c0 Dbug RW 15 .debug_loc target.o
0x000002c0 0x00000020 Dbug RW 54 .debug_loc main.o
0x000002e0 0x00000218 Dbug RW 69 .debug_loc sed1335.o
0x00000000 0x00000198 Dbug RW 11 .debug_macinfo target.o
0x00000198 0x00000078 Dbug RW 27 .debug_macinfo target.o
0x00000210 0x0000004c Dbug RW 31 .debug_macinfo target.o
0x0000025c 0x000001f0 Dbug RW 35 .debug_macinfo target.o
0x0000044c 0x000001f8 Dbug RW 50 .debug_macinfo main.o
0x00000644 0x000002cc Dbug RW 65 .debug_macinfo sed1335.o
0x00000000 0x00000128 Dbug RW 14 .debug_pubnames target.o
0x00000128 0x00000064 Dbug RW 26 .debug_pubnames target.o
0x0000018c 0x00000058 Dbug RW 30 .debug_pubnames target.o
0x000001e4 0x00000084 Dbug RW 34 .debug_pubnames target.o
0x00000268 0x00000088 Dbug RW 49 .debug_pubnames main.o
0x000002f0 0x0000001c Dbug RW 53 .debug_pubnames main.o
0x0000030c 0x00000094 Dbug RW 64 .debug_pubnames sed1335.o
0x000003a0 0x00000090 Dbug RW 68 .debug_pubnames sed1335.o
================================================================================
Image component sizes
Code RO Data RW Data ZI Data Debug
1256 64 9615 1032 12568 Object Totals
796 0 0 96 840 Library Totals
================================================================================
Code RO Data RW Data ZI Data Debug
2052 64 9615 1128 13408 Grand Totals
================================================================================
Total RO Size(Code + RO Data) 2116 ( 2.07kB)
Total RW Size(RW Data + ZI Data) 10743 ( 10.49kB)
Total ROM Size(Code + RO Data + RW Data) 11731 ( 11.46kB)
================================================================================
Translation to Intel 32 bit Hex format successful.
答 1: 中间有一栏是 Idx,这是什么意思? 答 2: re:Total RO Size(Code + RO Data) 2116 ( 2.07kB)
Total RW Size(RW Data + ZI Data) 10743 ( 10.49kB)
================================================================================
Memory Map of the image
Image Entry point : 0x00000000
Load Region ROM_LOAD (Base: 0x00000000, Size: 0x00002dd4, Max: 0xffffffff, ABSOLUTE)
Execution Region ROM_EXEC (Base: 0x00000000, Size: 0x00000844, Max: 0xffffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x00000000 0x00000120 Code RO 1 * vectors Startup.o
0x00000120 0x000000a8 Code RO 71 * !!! __main.o(c_a__un.l)
0x000001c8 0x000000e8 Code RO 8 .text target.o
0x000002b0 0x00000040 Code RO 40 .text main.o
0x000002f0 0x000002a0 Code RO 56 .text sed1335.o
0x00000590 0x00000008 Code RO 73 .text _no_redirect.o(c_a__un.l)
0x00000598 0x00000004 Code RO 75 .text use_no_semi.o(c_a__un.l)
0x0000059c 0x00000028 Code RO 77 .text kernel.o(c_a__un.l)
0x000005c4 0x00000018 Code RO 79 .text exit.o(c_a__un.l)
0x000005dc 0x000000fc Code RO 81 .text lib_init.o(c_a__un.l)
0x000006d8 0x000000fc Code RO 83 .text stkheap1.o(c_a__un.l)
0x000007d4 0x0000000c Code RO 85 .text libspace.o(c_a__un.l)
0x000007e0 0x00000010 Code RO 90 .text rt_fp_status_addr.o(c_a__un.l)
0x000007f0 0x00000014 Code RO 88 x$fpl$fpinit fpinit.o(f_a_p.l)
0x00000804 0x00000030 Data RO 92 Region$$Table anon$$obj.o
0x00000834 0x00000010 Data RO 93 ZISection$$Table anon$$obj.o
Execution Region IRAM (Base: 0x40000000, Size: 0x000029f4, Max: 0xffffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x40000000 0x00002580 Data RW 41 .data main.o
0x40002580 0x0000000f Data RW 57 .data sed1335.o
0x4000258f 0x00000001 PAD
0x40002590 0x00000004 Zero RW 58 .bss sed1335.o
0x40002594 0x00000060 Zero RW 86 .bss libspace.o(c_a__un.l)
0x400025f4 0x00000400 Zero RW 2 MyStacks Startup.o
Execution Region HEAP (Base: 0x400029f4, Size: 0x00000004, Max: 0xffffffff, ABSOLUTE, UNINIT)
Base Addr Size Type Attr Idx E Section Name Object
0x400029f4 0x00000004 Zero RW 3 Heap Startup.o
Execution Region STACKS (Base: 0x40002000, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE, UNINIT)
Base Addr Size Type Attr Idx E Section Name Object
0x40002000 0x00000000 Zero RW 4 Stacks Startup.o
Load Region LR$$Debug (Base: 0x00000000, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE)
Execution Region ER$$Debug (Base: 0x00000000, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x00000000 0x00000010 Dbug RW 7 .debug_abbrev Startup.o
0x00000010 0x000003ec Dbug RW 17 .debug_abbrev target.o
0x00000000 0x0000014c Dbug RW 16 .debug_frame target.o
0x0000014c 0x00000044 Dbug RW 55 .debug_frame main.o
0x00000190 0x000000f0 Dbug RW 70 .debug_frame sed1335.o
0x00000280 0x0000003c Dbug RW 72 .debug_frame __main.o(c_a__un.l)
0x000002bc 0x0000004c Dbug RW 74 .debug_frame _no_redirect.o(c_a__un.l)
0x00000308 0x00000044 Dbug RW 76 .debug_frame use_no_semi.o(c_a__un.l)
0x0000034c 0x00000058 Dbug RW 78 .debug_frame kernel.o(c_a__un.l)
0x000003a4 0x0000004c Dbug RW 80 .debug_frame exit.o(c_a__un.l)
0x000003f0 0x0000007c Dbug RW 82 .debug_frame lib_init.o(c_a__un.l)
0x0000046c 0x00000080 Dbug RW 84 .debug_frame stkheap1.o(c_a__un.l)
0x000004ec 0x00000044 Dbug RW 87 .debug_frame libspace.o(c_a__un.l)
0x00000530 0x0000004c Dbug RW 89 .debug_frame fpinit.o(f_a_p.l)
0x0000057c 0x0000004c Dbug RW 91 .debug_frame rt_fp_status_addr.o(c_a__un.l)
0x00000000 0x00000098 Dbug RW 5 .debug_info Startup.o
0x00000098 0x000000a0 Dbug RW 10 .debug_info target.o
0x00000138 0x00000108 Dbug RW 33 .debug_info target.o
0x00000240 0x000000e4 Dbug RW 29 .debug_info target.o
0x00000324 0x00000570 Dbug RW 13 .debug_info target.o
0x00000894 0x00000134 Dbug RW 25 .debug_info target.o
0x000009c8 0x000001b4 Dbug RW 48 .debug_info main.o
0x00000b7c 0x000000d0 Dbug RW 52 .debug_info main.o
0x00000c4c 0x000001d0 Dbug RW 63 .debug_info sed1335.o
0x00000e1c 0x000002bc Dbug RW 67 .debug_info sed1335.o
0x00000000 0x000000c8 Dbug RW 6 .debug_line Startup.o
0x000000c8 0x000000fc Dbug RW 9 .debug_line target.o
0x000001c4 0x0000011c Dbug RW 12 .debug_line target.o
0x000002e0 0x00000084 Dbug RW 24 .debug_line target.o
0x00000364 0x00000050 Dbug RW 28 .debug_line target.o
0x000003b4 0x00000050 Dbug RW 32 .debug_line target.o
0x00000404 0x000000b8 Dbug RW 47 .debug_line main.o
0x000004bc 0x000000d0 Dbug RW 51 .debug_line main.o
0x0000058c 0x000000bc Dbug RW 62 .debug_line sed1335.o
0x00000648 0x00000144 Dbug RW 66 .debug_line sed1335.o
0x00000000 0x000002c0 Dbug RW 15 .debug_loc target.o
0x000002c0 0x00000020 Dbug RW 54 .debug_loc main.o
0x000002e0 0x00000218 Dbug RW 69 .debug_loc sed1335.o
0x00000000 0x00000198 Dbug RW 11 .debug_macinfo target.o
0x00000198 0x00000078 Dbug RW 27 .debug_macinfo target.o
0x00000210 0x0000004c Dbug RW 31 .debug_macinfo target.o
0x0000025c 0x000001f0 Dbug RW 35 .debug_macinfo target.o
0x0000044c 0x000001f8 Dbug RW 50 .debug_macinfo main.o
0x00000644 0x000002cc Dbug RW 65 .debug_macinfo sed1335.o
0x00000000 0x00000128 Dbug RW 14 .debug_pubnames target.o
0x00000128 0x00000064 Dbug RW 26 .debug_pubnames target.o
0x0000018c 0x00000058 Dbug RW 30 .debug_pubnames target.o
0x000001e4 0x00000084 Dbug RW 34 .debug_pubnames target.o
0x00000268 0x00000088 Dbug RW 49 .debug_pubnames main.o
0x000002f0 0x0000001c Dbug RW 53 .debug_pubnames main.o
0x0000030c 0x00000094 Dbug RW 64 .debug_pubnames sed1335.o
0x000003a0 0x00000090 Dbug RW 68 .debug_pubnames sed1335.o
================================================================================
Image component sizes
Code RO Data RW Data ZI Data Debug
1256 64 9615 1032 12568 Object Totals
796 0 0 96 840 Library Totals
================================================================================
Code RO Data RW Data ZI Data Debug
2052 64 9615 1128 13408 Grand Totals
================================================================================
Total RO Size(Code + RO Data) 2116 ( 2.07kB)
Total RW Size(RW Data + ZI Data) 10743 ( 10.49kB)
Total ROM Size(Code + RO Data + RW Data) 11731 ( 11.46kB)
================================================================================
Translation to Intel 32 bit Hex format successful.
答 1: 中间有一栏是 Idx,这是什么意思? 答 2: re:Total RO Size(Code + RO Data) 2116 ( 2.07kB)
Total RW Size(RW Data + ZI Data) 10743 ( 10.49kB)
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |