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.

[参考译文] TMS320F28069:将二进制文件放置在闪存部分

Guru**** 2558250 points
Other Parts Discussed in Thread: TMS320F28069

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1042343/tms320f28069-placing-a-binary-file-in-a-flash-section

器件型号:TMS320F28069

您好!

我们使用 的是 TMS320F28069微控制器。

  在链接过程中、我们必须使用链接器命令将二进制文件(例如:- file.bin、1K)加载到内部闪存中。 此文件已添加到项目文件夹中。

将此文件添加到闪存中特定存储器位置的方法/链接器命令是什么?

请帮助。

此致、

Shijo Thomas

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

    Shijo、

    我想用引导 ROM 映像作为示例、说明如何将常量数据分配给代码中的某个段(闪存/RAM/ROM 只是地址范围)。  在 CCS 中加载生成的.coff 将负责对闪存进行编程。

    在此路径 C:\ti\c2000\C2000WarevX.x\libraries\boot_rom\f2806x\v1_rom_sources\source 中、查看 FPUmathTables.asm、在/rom_sources/lnk/中、您可以看到如何分配此路径。

    请注意、这将要求您重新格式化二进制文件中的数据、但我认为这应该足够简单、可以使用 python 或等效脚本实现自动化。

    最棒的
    Matthew