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.

[参考译文] TMS320F28P650DK:有关"ramfunc"属性和保留字的 CLA

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1257498/tms320f28p650dk-cla-regarding-the-ramfunc-attribute-and-reserved-words

器件型号:TMS320F28P650DK

大家好!  

关于 CLA 和 RAMFUNC :它们可用吗? 我在 C28x 上看到和了解 但未清除 CLA Coudl yu kinldy 帮助? 任意示例  

类似问题  

关于 CPU 的"保留字",如 RamfuncsLoadStart,…,RamfuncsRunEnd, 您能确认 CPU 和 CLA 中的等效含义吗?

" Cla1ProgLoadStart "等效 于" RamfuncsLoadStart "

谢谢!  

Br

卡洛

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

    您好!

    CLA 无法访问闪存、因此所有 CLA 任务都需要从 RAM 运行。

    我们在链接器 cmd 中执行此操作的方法是:(类似于 ramfuncs ):  

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    Cla1Prog : LOAD = FLASH4,
    RUN = RAMLS5,
    LOAD_START(Cla1funcsLoadStart),
    LOAD_END(Cla1funcsLoadEnd),
    RUN_START(Cla1funcsRunStart),
    LOAD_SIZE(Cla1funcsLoadSize),
    ALIGN(8)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    关于 CPU 的"保留字",如 RamfuncsLoadStart,…,RamfuncsRunEnd, 您能确认 CPU 和 CLA 中的等效含义吗?

    [/报价]

    它们不是保留字、您可以使用任何名称替换它。 它们仅表示可用于获取段起始/结束地址或大小的符号。

    此致、

    维纳