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.
详细问题如下:
1.有没有类似Page67的ROM映射图的全部ROM/RAM的映射图?
2.关于CMD怎么分配存储空间以及相关语法的技术文档能否发下链接或者文档名称?
3.我现在的项目需要的变量比较多,但有个固定SPWM正弦波数组表,数组数达到98个,数组的每个元素在整个工程中不做改变,我想快速读取数组元素,整个数组存储到RAM还是ROM好?请问数组和许多变量需要用CMD分配空间不还是默认由编译器CCS默认分配?
4,.有没有程序代码下载在ROM,单独变量而非结构体定义数据空间的CMD文件?
1、不知道67页是哪个文档的67页?我找了datasheet和TRM的67页都没有映射图。不过6.2 Memory Maps中有介绍ram分布。
2、cmd分配,之前有工程师分享过:https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/80869/dsp-cmd-run_start
3、变量的话应该都是自动分配到ram的,如果分配的一块ram不够用,可以合并起来使用
例如
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
合并后就是
RAMM0M1 : origin = 0x000050, length = 0x0007B0 /* on-chip RAM block M0M1 */
即是把两段地址合在一起。
4、这个不是很理解你的问题。