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/Hercules F021FLASHAPI:UARTbootloader 无法下载应用

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/585228/ccs-hercules-f021flashapi-uartbootloader-can-not-download-app

器件型号:Hercules F021FLASHAPI

工具/软件:Code Composer Studio

我想通过 UART 引导加载程序下载应用程序、 使用 CCS 6.2.on Win7 64位操作系统时、工作表 spna193 (用于 Hercules TMS570ls31xMCU 的 UART 引导加载程序)中提到了 UART 引导加载程序的源代码。 问题是引导加载程序无法下载应用程序代码(hex)。当运行到闪存函数时、会导致错误 对我有什么影响?

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

    您好、HongKe、

    UART 引导加载程序应与 PC 端的工具(超级终端、TeraTerm 等)配合使用。 引导加载程序中使用的协议是 Y 调制解调器。 文件格式为二进制格式、而不是十六进制格式(Intel 或 Motorola 等)。

    此致、

    问    

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

    您好,QJ Wang,
    感谢您的回复。 我确实使用了超级终端、引导加载程序中使用的协议是 Y 调制解调器、超级终端的其他设置与工作表 spna193 (用于 Hercules TMS570ls31xMCU 的 UART 引导加载程序),设置为115200 8-N-1。此项目除1和2外成功。  运行引导加载程序时、我无法下载应用程序。运行闪存操作代码(uint32_t Fapi_BlockErase (uint32_t Bank、uint32_t ulAddr、 uint32_t size)。我重新上传了一张清晰的图片,请帮助我了解导致错误的原因。我猜 F021_API_CortexR4_be.lib 存在问题,但我不知道为什么。Besides,如何 生成.bin 文件?