TI中文支持网
TI专业的中文技术问题搜集分享网站

CMD文件语法

  UNION

 run = PIE_VECT, PAGE = 1  

  {       PieVectTableFile      

 GROUP      

{         

EmuKeyVar         

EmuBModeVar         

 FlashCallbackVar         

FlashScalingVar      

 }    这个语法是什么意思啊?

}

Forrest:

在PIE_VECT中,按顺序放入EmuKeyVar,EmuBModeVar, FlashCallbackVar ,FlashScalingVar   

 

具体说明如下:

7.5.6 Using UNION and GROUP StatementsTwo SECTIONS statements allow you to conserve memory: GROUP and UNION. Unioning sectionscauses the linker to allocate them to the same run address. Grouping sections causes the linker toallocate them contiguously in memory. Section names can refer to sections, subsections, or archive librarymembers.

详情可以参考下面的文档:

http://www.ti.com/litv/pdf/spru513e

  UNION

 run = PIE_VECT, PAGE = 1  

  {       PieVectTableFile      

 GROUP      

{         

EmuKeyVar         

EmuBModeVar         

 FlashCallbackVar         

FlashScalingVar      

 }    这个语法是什么意思啊?

}

Blake Ma:

您提到的这段代码主要作用是对EMU_KEY,EMU_BMODE,Flash_CPUScaleFactor和Flash_CallbackPtr四个寄存器进行地址分配。

在芯片的数据手册中关于Boot ROM的介绍中,有提到这四个寄存器的存储地址:

赞(0)
未经允许不得转载:TI中文支持网 » CMD文件语法
分享到: 更多 (0)