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.

[参考译文] TMS320F28377S:.CMD 文件

Guru**** 2394305 points
Other Parts Discussed in Thread: TMS320F28377S

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1197725/tms320f28377s-cmd-file

器件型号:TMS320F28377S

TMS320F28377S 中长度为4096字的 GSx RAM 段是否可以分为多个段? 例如、GS5分为10个区段。 中给出了以下定义。 CMD 文件。 段中使用的这种方法是否正确?

   //RAMGS5          :origin = 0x011000,length = 0x001000

   RAMP00          :origin = 0x011000、length = 0x000040

   RAMP01          :origin = 0x011040,length = 0x000040

   RAMP02          :origin = 0x011080,length = 0x000040

   RAMP03          :origin = 0x0110C0,length = 0x000040

   RAMP04          :origin = 0x011100,length = 0x000040

   RAMP05          :origin = 0x011140,length = 0x000040

   RAMP06          :origin = 0x011180,length = 0x000040

   RAMP07          :origin = 0x0111C0,length = 0x000040

   RAMP08          :origin = 0x011200,length = 0x000040

   RAM5OT          :origin = 0x011240,length = 0x000DC0

对于在 C 程序中定义的 FLOAT32类型数据、我可以在汇编器中的这个地址写入和读取 UINT32数据吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [引用 userid="327785" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1197725/tms320f28377s-cmd-file ] TMS320F28377S 中长度为4096字的 GSx RAM 段是否可以分为多个段? [/报价]

    当然、在拆分链接器 cmd 文件中的存储器区域时没有问题。

    [引用 userid="327785" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1197725/tms320f28377s-cmd-file 对于在 C 程序中定义的 FLOAT32类型数据、我可以在汇编器中的该地址写入和读取 uint32数据吗?

    当然、您可以读取变量的地址并对该地址进行读取或写入。 您是要对该地址进行整数读取、还是要将浮点数据转换为一体值? 这两种方法都是可行的。 相应地使用装配说明。

    此处提供 CPU 指令集:

    https://www.ti.com/lit/ug/spru430f/spru430f.pdf

    https://www.ti.com/lit/ug/spruhs1c/spruhs1c.pdf

    此致、

    Veena