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/TMS570LS0232:无法成功编译引导加载程序 C 代码。

Guru**** 2443910 points
Other Parts Discussed in Thread: TMS570LS0232

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/628215/ccs-tms570ls0232-bootloader-c-codes-can-not-be-compiled-successfully

器件型号:TMS570LS0232

工具/软件:Code Composer Studio

大家好、TI 工程师

这是我第一次使用引导加载程序来调试 TMS570。 我在以下位置找到了引导加载程序 C 代码:

  

但是、无法成功编译。 我希望 TI 工程师能为我提供有关如何为 CCSv7.0设置引导加载程序项目的文档。  

谢谢!

此致!

新宇

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

    很抱歉耽误你的回答。 编译引导加载程序时、您能给我显示错误消息吗?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Wang、

    下图是我的引导加载程序问题。 我希望我能获得一个有关如何使用引导加载程序并将其加载到 TMS570LS0232中的文档。

    谢谢!

    此致!

    新宇

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

    您好、Xinyu、

    1.将 bootloader 工程的"\inc"和 F021闪存 API 的"\include"添加到#include 路径  

    2.在"ARM 连接器"下的"文件搜索路径"中添加库名称和位置

    3. api_load、api_run 和 api_size 在 linker.cmd 文件中定义、并在 sys_core.asm 中用于将闪存 API 相关代码复制到 SRAM。