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/TMS320F28379S:您是否有进行 USB 固件上传的示例代码?

Guru**** 2563960 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/638536/ccs-tms320f28379s-do-you-have-any-sample-code-of-doing-the-usb-firmware-upload

器件型号:TMS320F28379S
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

您是否有进行 USB 固件上传的示例代码?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的。 C2000Ware 中提供了一个双核 USB 器件固件升级 CCS 示例和随附的 USB 闪存编程器 PC 工具。

    此致、
    SAL
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    它卡在这里。
    D:\ti\c2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\serial_flash_programr.exe -d f2837xS -k D:\ti\c2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_upgrade_example\ti\c2000Ware_1_00_00_02_00\utilities\flash_4a F2837xD_sci_flash_kernels_cpu01.txt mpu.txt -workspace_4a -d_4a:\texample.d\texample.d\texample.html -texample.

    C2000串行固件升级程序
    版权所有(c) 2013 Texas Instruments Incorporated。 保留所有权利。

    正在获取通信状态
    建立通信 DCB
    调整端口设置

    调用 f021_DownloadKernel CPU1内核
    将 D:\ti\c2000Ware_1_00_02_00\utilities\fash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt 下载到器件...

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

    我尝试了您的示例项目、但遇到 make 命令语法错误。

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

    您将需要使用 USB 闪存编程器。 串行闪存编程器被写入以使用一个到 C2000 SCI 的 COM 端口。 USB 闪存编程器是使用 USB 内核开发的、可通过 USB 执行器件固件升级。

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

    您好!

    我对将 COM 端口与串行闪存编程器结合使用感兴趣。 请向我展示步骤。 谢谢。

    弗兰克

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

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

    我尝试通过 COM 端口为 f28379S 下载固件。

    这是批处理文件。

    D:\ti\ccsv7\tools\compiler\ti-cgt-C2000-16.12.0.sts\bin\hex2000.exe -boot -a -sci8 D:\test\TI\workspace_v7\TS4a\Debug\ts4a.out -o D:\test\TI\workspace_v7\TS4a\Debug\ts4a.txt
    D:\ti\c2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\serial_flash_programr.exe -d f2837xS -k D:\ti\c2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_upgrade_example\f2837x_example_texample.\texample.F2837xD_sci_flash_kernels_cpu01.txt -tun_b\tune_tune_tuni20_4a\texample.comb\tune_b\tune_workspace -tunch ts4a.txt

    我被卡住了:

    C:\Users\frank.cheng\Desktop>D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programrs\serial_flash_programr\serial_flash_programr.exe -d f2837xS -k D:\ti\c2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt -a D:\test\TI\workspace_v7\TS4a\Debug\ts4a.txt -p COM34 -38400 -b

    C2000串行固件升级程序
    版权所有(c) 2013 Texas Instruments Incorporated。 保留所有权利。

    正在获取通信状态
    建立通信 DCB
    调整端口设置

    调用 f021_DownloadKernel CPU1内核
    将 D:\ti\c2000Ware_1_00_02_00\utilities\fash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt 下载到器件...

    正在尝试自动波特加载内核...
    自动波特内核成功! 正在加载内核文件...
    A=A
    8==8
    0==66
    数据不匹配... 请按 Ctrl-C 中止。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    请将波特率降低至9600。 请尝试一下。

    SAL