我想在cmd文件里面加入对DDR2空间的声明,然后实现在DDR2中定义数组什么的,我的配置如下:
-c
-heap 0x1000
-stack 0x3000
/* Memory Map 1 - the default */
MEMORY
[
L1D: o = 00f00000h l = 00008000h
L1P: o = 00e00000h l = 00008000h
L2: o = 00800000h l = 00200000h
DDR2: o = E0000000h l = 10000000h //DDR2's memory space is 256MB
]
SEC
tiONS
[
.csl_vect > L2
.text > L2
.stack > L2
.bss > L2
.cinit > L2
.cio > L2
.const > L2
.data > L2
.switch > L2
.sysmem > L2
.far > L2
.testMem > L2
ISRAM > L2
.ddr2 > DDR2
]
可是对它进行编译总会出现以下错误:
Multiple markers at this line
- #10080-D length not specified for memory range DDR2
- #10343-D Expecting expression starting with integer, unary operator, or '(' instead of "E0000000h".
- #10264 E0000000h memory range overlaps existing memory range DDR2
- #10079-D origin not specified for memory range E0000000h
- #10264 E0000000h memory range overlaps existing memory range L1P
- #10264 E0000000h memory range overlaps existing memory range L2
- #10264 E0000000h memory range overlaps existing memory range L1D
这是为什么 啊?我试过把地址中的“E"改成A以下的数,他就不会报错,但这个不是DDR2的地址啊。请TI员工帮助以下。