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.

[参考译文] CCS/TM4C1294NCPDT:将引导加载程序和应用程序组合到一个文件中

Guru**** 2606725 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/750221/ccs-tm4c1294ncpdt-combine-bootloader-and-application-into-one-file

器件型号:TM4C1294NCPDT

工具/软件:Code Composer Studio

我有一个引导加载程序项目和我的应用程序项目。  使用 LM 闪存编程器 、我在偏移量0x0处加载引导加载程序、在偏移量0x4000处加载我的应用程序、一切都按预期工作。  是否有办法将两个项目输出合并到一个文件中?

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

    引导加载程序将是自己的项目、需要独立于您的应用程序进行编译、因此执行此操作并不简单。

    理论上、我认为您可以合并两个代码输出文件、例如.hex 文件、但我不确定我知道的唯一执行此操作的过程是否适用于 TM4C。

    下面概述了我用于 C2000等其他 MCU 的过程: processors.wiki.ti.com/.../Combining_executable_files

    对于 TM4C、命令可能会有所不同、如果是、请告知我、以便我可以在 CCS 论坛中循环使用 CCS 专家或在 CCS 论坛上发帖。