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.

关于TMS320F28335的CMD文件的问题

Other Parts Discussed in Thread: TMS320F28335

在TMS320F28335指示灯的示例程序中,我把延时程序让它运行在RAM中,来提高延时准确性。在CMD文件中进行如下设置:

ramfuncs : LOAD = FLASHB PAGE = 0
//RUN = RAML0 PAGE = 0
RUN = RAML4 PAGE = 1
LOAD_START(_RamfuncsLoadStart)
LOAD_END(_RamfuncsLoadEnd)
RUN_START(_RamfuncsRunStart)

RUN  = RAML0       PAGE = 0起作用时当程序下载到芯片后,运行的延时时间和在调试时的延时时间基本一样。当RUN  = RAML4       PAGE = 1起作用时当程序下载到芯片后,运行的延时时间比在调试时的延时时间慢很多。RAML0  在F28335.CMD前面的MEMORY定义是在PAGE0的RAM,RAML4 是在前面MEMORY定义是在PAGE1的RAM.同样是RAM为什么差别这个大?

还有就是为什么RAML0会被定义在PAGE0,PAGE0不是程序存储器?不是应该定义在PAGE1数据存储器?

  麻烦请TI工作人员给解答一下。 谢谢!