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.

[参考译文] TMS320F28377D-EP:CLAscratch 与.scratchpad。

Guru**** 2523140 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1190214/tms320f28377d-ep-clascratch-vs-scratchpad

器件型号:TMS320F28377D-EP

您好!

我在上述 DSP 上使用 CLA。

  1. 阅读博客和数据表后、我的理解是 CLAscratch 是一个旧段、链接器现在使用.scratchpad
  2. 无需为.scratchpad 段指定大小。

因此、我可以在 链接器中删除以下行:

CLA_ScratchPad_size = 0x100;
--undef_sym=__cla_scratchpad_end
--undef_sym=__cla_scratchpad_start

CLAscratch:
{*。obj (CLAscratch)
。 += CLA_ScratchPad_size;
*。obj (CLAscratch_end)}> RAMLS1、PAGE = 0

然后继续

暂存区   :>RAMLS1,    页=0

我是对的吗? 这些说法是否正确?

(这有点令人困惑、我认为记录不是很好!)

劳伦特