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/EK-TM4C1294XL:通过 USB 电缆从 PC 应用实现最基本的程序上传

Guru**** 2478875 points
Other Parts Discussed in Thread: EK-TM4C1294XL

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/697953/ccs-ek-tm4c1294xl-implementing-the-most-basic-program-upload-through-usb-cable-from-a-pc-application

器件型号:EK-TM4C1294XL

工具/软件:Code Composer Studio

我使用的是 tm4c1294电路板和 code composer studio 版本:7.1.0.00016:
   www.ti.com/.../ek-tm4c1294xl

我的最终目标是能够通过蓝牙器件的 UART0更新其程序。 我不熟悉此电路板、并尝试阅读 Tivaware 引导加载程序用户指南以了解如何实现这一点。

我想从以下步骤开始:
编译2个 bin 文件-一个导致 LED 短闪烁、另一个具有较长的 LED 闪烁。 这是为了能够在我将每个程序加载到其中后看到器件行为发生变化。
2.上传"boot_serial"示例(这是正确的吗?) 并编写一个 PC 应用程序以打开板 USB 的 COM 端口(板使用 USB <-> microUSB 电缆连接到 PC)、并实施协议以上载其中一个 BIN 文件。

以上步骤只是为了确保我有工作协议-我稍后将通过中间的 BT 模块实现相同协议。

我的方向是否正确? 任何进一步的帮助都将获得批准。

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

    是的、您已进入写入轨道。 使用来自以下地址的 boot_serial:C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c1294xl\boot_serial。 您可以使用 boot_demo1和 boot_demo2示例启动 LED 快速和慢速闪烁例程。 您可以从 在 PC 上使用 LM Flash Programmer 通过虚拟 COM 端口发送.bin 文件开始。