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-RAM EP:链接器:将目标文件中的.text 段包括到现有的.TI.ramfunc 中

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1386428/tms320f28377d-ep-linker-include-the-text-section-from-an-object-file-into-the-existing-ti-ramfunc

器件型号:TMS320F28377D-TMS320F28377D-DSP EP

工具与软件:

早上好、

我正在尝试将 copy_application.c 中的整个目标文件二进制代码(几个函数)包含 到.TI.ramfunc 中、以便从闪存加载和从 RAM 运行、并在整个段中具有唯一的 CRC。

包含两个库和.TI.ramfunc 可根据我在"Memory"窗口中看到的分配正常运行、但我看不到来自定制目标文件的任何分配、尽管我不会收到任何链接器错误。

"怎么会这样? 我是否在 copy_application.obj 中缺少"-选项?

谢谢你

Laurent

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

    您好、 Laurent、

    我看不到语法上的任何问题。

    您能否确认该文件中的函数正被应用程序使用。 请注意、未使用的函数/部分将从最终的.out 中删除

    此致、

    Veena.