men_b.scf中设置如下: ROM_LOAD 0x40000000 { ROM_EXEC 0x40000000 { Startup.o (vectors, +First) * (+RO) }
IRAM 0x40007600 { Startup.o (MyStacks) * (+RW,+ZI) }
HEAP +0 UNINIT { Startup.o (Heap) }
STACKS 0x40004000 UNINIT { Startup.o (Stacks) } }
程序选择DebugInRam编译结果如下: Code R0 Data RW Data ZI Data Debug 21020 1195 173 2218 43792 Grand Totals ===================================================================== Total RO Size(Code+RO Data) 22215(21.69KB) Total RW Size(RW Data+ZI Data) 2391 (2.33KB) Total ROM Size(Code+RO Data+RW Data) 22388(21.86KB)
调试时候老是出现取指令终止之类的错误,请高手帮我看看,用的是LPC2148的芯片(512KB flash,32+8kb的ram)!谢谢啦
|