This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
MEMORY
{
IRAM_MEM: o = 0x00800000 l = 0x00008000 /* 32kB internal SRAM */
OCMC_RAM1: o = 0x40300000 l = 0x00080000 /* 512kB L3 OCMC SRAM1 */
OCMC_RAM2: o = 0x40400000 l = 0x00100000 /* 1MB L3 OCMC SRAM2 */
OCMC_RAM3: o = 0x40500000 l = 0x00100000 /* 1MB L3 OCMC SRAM3 */
DDR0: o = 0x80000000 l = 0x40000000 /* 1GB external DDR Bank 0 */
}
如下图,是CCS生成的cmd文件中的内容
其中OCMC_RAM1可以在手册中找到
而其他的OCMC_RAM2,OCMC_RAM3却找不到地址,在手册上,是Reserved
那为什么会在AM57xx_C66.cmd中呢,这个cmd文件是通用的么?
在am5708中,这部分空间也是可以使用的么?
还是说ccs的bug
请AM57xx_C66.cmd文件顶部的说明,需要按照自己的芯片型号修改memory部分的配置,am5708不适用OCMC_RAM2/OCMC_RAM3部分的地址。
Use it as a guideline. You will want to change the memory layout to match your specific target system.