卖了个LAUNCHXL-CC1352P-2的板子,照例发货之前测试的时候,想着用energia烧写个fade例程进去方便验货,也就是这步出了问题,烧写的时候提示要升级xds110版本,然而之前已经用UniFlash升到最新了,然后紧接着就报错找不到xds110了……任务管理器里的com口也消失了。
慌得一狗好吗,还有不到半小时就来取件了
没办法,硬着头皮找方案
在本地的ccs目录里找到了这个 在线版本
C:/ti/ccs1030/ccs/ccs_base/common/uscif/xds110/XDS110SupportReadMe.pdf
其中有
Updating the Firmware Using xdsdfu
To program the firmware, follow these steps:
1. Plug the XDS110 debug probe into your computer. Make sure that you only have one
XDS110 class debug probe plugged in. The xdsdfu program will attempt to flash the first
XDS110 debug probe it finds.2. Run the following two commands from directory with xdsdfu:
xdsdfu -m
xdsdfu -f firmware.bin -r
Use the actual filename of the firmware file. Starting with firmware version 3.0.0.8, the
version number is part of the filename (e.g. firmware_3.0.0.8.bin). You may need to
pause after the first command to give the OS time to recognize that the XDS110 has
reconfigured as a different USB device.
Once the second command has completed, the firmware is updated, and the XDS110 should be
ready to use.
先找到C:\ti\ccs1030\ccs\ccs_base\common\uscif\xds110
目录,打开cmd
执行xdsdfu -m
如果这一步提示有找到设备,那么恭喜你,你的xds110还没有凉透
然而我的提示找不到设备……设备管理器啥都没有怎么可能找到
不甘心,既然不能软件进入,那应该有硬件进入的方法把,继续往下看
Recovering a Bricked XDS110 without JTAG
In the case that your XDS110 fails to enumerate as a USB device, or it fails to enter DFU
programming mode, you can attempt the following steps to force it into DFU mode to recover:
1. Ground the JTAG TDO pin of the XDS110's Tiva CPU. This is pin 97 on the 128 pin
device. (Check the TM4C1294NCPDT datasheet for the pin location; it is located on a
corner and easy to access.)
2. Unplug and re-plug the XDS110 into the host computer while the pin is grounded.
3. The XDS110 should now be in DFU programming mode.
4. Remove the connection to ground while the XDS110 remains powered.
5. Use the xdsdfu utility to update the firmware as detailed above.
嗯,这个靠谱,把TM4C1294NCPDT
芯片的97脚接地然后上电就可以了,那么,上数据手册
找到97脚,用个面包板线接地就行,如果是ti家的开发板的话,97脚对应的是下图板上橙色标的点,右边的那个点就是gnd,用个镊子短接一下就行
然后上电,断开短接线,任务管理器里能识别到个设备了,有希望
C:\ti\ccs1030\ccs\ccs_base\common\uscif\xds110>xdsdfu.exe -m
USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated. All rights reserved.
Scanning USB buses for supported XDS110 devices...
Device is already in DFU mode. No switch necessary.
C:\ti\ccs1030\ccs\ccs_base\common\uscif\xds110>xdsdfu -f firmware_3.0.0.15.bin -r
USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated. All rights reserved.
Scanning USB buses for supported XDS110 devices...
Downloading firmware_3.0.0.15.bin to device...
两个com出来了,完美修复