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.

[参考译文] MSP430F5528:固件升级后出现 ezFET USB 枚举错误

Guru**** 2513195 points
Other Parts Discussed in Thread: UNIFLASH, TUSB4020BI, MSP430F5528

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1190333/msp430f5528-ezfet-usb-enumeration-error-after-firmware-upgrade

器件型号:MSP430F5528
主题中讨论的其他器件:UNIFLASHTUSB4020BI

您好!  

我已按照 此处提供的设计指南 v1.10将 ezFET 调试器集成到定制 PCB上。  

以下是步骤:  

1) 1)使用 uniFlash 使用提供的固件刷写调试器。  
BSL: EZFET_LITE_Rev1_1_BSL_1_1.txt
FW: EZFET_LITE_Rev1_1_FW_3_3_0_6.txt

此步骤成功,在重置调试器枚举之后:  

[17479.096854] usb 1-4.1: new full-speed USB device number 46 using xhci_hcd
[17479.199181] usb 1-4.1: New USB device found, idVendor=2047, idProduct=0013, bcdDevice= 2.00
[17479.199184] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17479.199186] usb 1-4.1: Product: MSP Tools Driver
[17479.199187] usb 1-4.1: Manufacturer: Texas Instruments
[17479.199188] usb 1-4.1: SerialNumber: EB30816E1D001200
[17479.213854] cdc_acm 1-4.1:1.0: ttyACM0: USB ACM device
[17479.214344] cdc_acm 1-4.1:1.2: ttyACM1: USB ACM device

2) 2)打开 CCS v12.2.0并启动调试会话。 CCS 需要我运行的固件升级。  
-固件升级成功。  
-调试会话启动。 因此、与目标的连接工作正常。  

3) 3)拔下并重新拔插/关闭主板会导致升级固件出现 USB 枚举错误。  
在 Linux (也在 Windows 上尝试)上,设备枚举失败,并出现以下错误:

 

[ 3864.797268] usb 1-4: new high-speed USB device number 20 using xhci_hcd
[ 3864.945544] usb 1-4: New USB device found, idVendor=0451, idProduct=8027, bcdDevice= 1.10
[ 3864.945559] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 3864.945565] usb 1-4: SerialNumber: C401085137E9
[ 3864.946511] hub 1-4:1.0: USB hub found
[ 3864.946544] hub 1-4:1.0: 2 ports detected
[ 3865.233256] usb 1-4.1: new full-speed USB device number 21 using xhci_hcd
[ 3865.313349] usb 1-4.1: device descriptor read/64, error -32
[ 3865.501369] usb 1-4.1: device descriptor read/64, error -32
[ 3865.689221] usb 1-4.1: new full-speed USB device number 22 using xhci_hcd
[ 3865.773364] usb 1-4.1: device descriptor read/64, error -32
[ 3865.961306] usb 1-4.1: device descriptor read/64, error -32
[ 3866.069434] usb 1-4-port1: attempt power cycle
[ 3866.673270] usb 1-4.1: new full-speed USB device number 23 using xhci_hcd
[ 3866.673426] usb 1-4.1: Device not responding to setup address.
[ 3866.881405] usb 1-4.1: Device not responding to setup address.
[ 3867.089265] usb 1-4.1: device not accepting address 23, error -71
[ 3867.173263] usb 1-4.1: new full-speed USB device number 24 using xhci_hcd
[ 3867.173404] usb 1-4.1: Device not responding to setup address.
[ 3867.381421] usb 1-4.1: Device not responding to setup address.
[ 3867.589276] usb 1-4.1: device not accepting address 24, error -71
[ 3867.589464] usb 1-4-port1: unable to enumerate USB device

eZ-FET 5528 MCU 位于 USB 集线器 TUSB4020BI 的后面。 还有另一个 STLINKV3调试器(使用高速 USB)可以正常工作。
因此、USB 电缆在这里似乎不是问题。  

最后、对于原始的旧 ezFET 固件、我没有枚举错误。 我可以拔下并重置电路板、而不会出现任何问题。  
但是、固件升级后、可以在 CCS FW 升级后仍处于调试会话中时使用 ezFET。 但是、在拔出/重置枚举之后、枚举最终会损坏。  

有人能 帮我解决这个问题吗?  

所附的 eZ-FET 原理图

谢谢你  

。  

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

    您好!

    很抱歉耽误你的回答。 首先、 您是否有可在您的环境中试用的 MSP430F5528 Launchpad (或任何 MSP430 Launchpad)? 此步骤将有助于缩小问题范围。