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.

[参考译文] TM4C1290NCPDT:xdsdfu 引导加载程序闪存在 Linux 上不起作用

Guru**** 2535750 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1191750/tm4c1290ncpdt-xdsdfu-bootloader-flash-does-not-work-on-linux

器件型号:TM4C1290NCPDT

在 Linux 中的自动测试过程中、我尝试使用引导加载程序和固件在我们的定制板上刷写 XDS110芯片、但我遇到了引导加载程序刷写步骤的问题:

phytec@tws-testfield007:~/ti/ccs1210/ccs/ccs_base/common/uscif/xds110$ xdsdfu -b firmware_3.0.0.22.bin -r

USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated.  All rights reserved.

Replacing the bootloader may render the XDS110 unusable.
Do you want to continue (Y/N) ?  phytec@tws-testfield007:~/ti/ccs1210/ccs/ccs_base/common/uscif/xds110$

尚不清楚这是否确实会失败、因为它只会启动到控制台、但我尝试了多次(后跟固件闪存)、XDS110在复位或重新连接时继续卡在 DFU 模式。 当我用相同的步骤手动尝试 Windows 命令行版本的 xdsdfu 时、它成功编程、并且我立即能够使它进入运行时模式。

所连接的线程显然完全是同一个问题、其中的响应表明它应该是在几年前修复的。 使用 Linux 命令行实用程序是否有任何修复或变通办法? 使用 Windows PC 刷写引导加载程序对我们来说不是一个好选择。

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

    您好!

    我可以重现此问题。 我为此提交了一个错误。 跟踪链接: https://sir.ext.ti.com/jira/browse/EXT_EP-11023

    请注意上面链接中的变通办法。

    另请注意、引导加载程序应使用-b、固件应使用-f

    >./xdsdfu -b boot_loader.bin -r

    >./xdsdfu -f firmware_3.0.0.22.bin -r

    谢谢

    Ki

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

    变通方法(在引导加载程序闪存命令之前添加"echo Y|")似乎已经解决了我的问题。 谢谢!