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.
目前正在使用C6713,在用CCS6.1新建工程时,软件自动生成的CMD文件中,是这么写的:
IRAM o = 0x00000000 l = 0x00030000 /* 192kB - Internal RAM */
L2RAM o = 0x00030000 l = 0x00010000 /* 64kB - Internal RAM/CACHE */
但是我在文档中看到复位后默认是L2 cache disabled,就是所有全部分配到SRAM。我的问题是:
1. 如果我想把上面的L2RAM像IRAM一样直接使用,是配置成cache还是SRAM?
2. 如果我想把上面的L2RAM像IRAM一样直接使用,是不是直接写IRAM o = 0x00000000 l = 0x00040000 就可以?
3. L2RAM在上电且不配置相应寄存器时全部设为SRAM,那为什么还要单独列出来?
1. 上电默认是RAM,可以直接使用。
2. 可以直接写成IRAM o = 0x00000000 l = 0x00040000
3. 不是只能单独列出来的写法,可以根据自己的需要定义。