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.

[参考译文] TMS320F280039C:从闪存进行调试时、.TI.ramfunc 是否可以直接链接到 RAM?

Guru**** 2513185 points
Other Parts Discussed in Thread: TMS320F280039C

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1559676/tms320f280039c-can-ti-ramfunc-be-linked-directly-to-ram-when-debugging-from-flash

器件型号:TMS320F280039C


工具/软件:

我使用的是从闪存运行的 TMS320F280039C。 通常.TI.ramfunc以 load=Flash 和 run=RAM 进行链接、启动时将代码从闪存复制到 RAM。

若要使用 CCS 进行调试、我是否可以 .TI.ramfunc 直接链接到 RAM(同时保留在闪存中) .text  other initialized sections ? 即使器件从闪存引导、当我加载程序时、CCS 是否会自动将其加载到 RAM 中?

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

    您好、Young:

    ti.ramfunc 段用于将函数分配给 RAM 以加快执行速度。

    您可以将 ramfunc 直接链接到 RAM 保留闪存中的文本段。  

    如果您遇到任何问题、请从您的身边尝试并告诉我。 如果映射文件正确放置在 RAM 中、请进行检查。

    谢谢

    Aswin