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.

[参考译文] AM625:USB 检测问题

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1501253/am625-usb-detection-issue

器件型号:AM625

工具/软件:

大家好!

我们在系统架构中使用 Am625ALW、其中在主机模式下使用了 USB1。 USB 检测存在问题。 每当连接 USB 时、我们都会收到以下日志、并且在检查使用 lsblk 时未连接 USB。

这是 USB1的器件树配置、

&usbss1 {
    ti,vbus-divider;
    status="okay";
};

&usb1 {
    dr_mode = "host";
    status = "okay";
};

这是我们每次连接 USB 设备时都会得到的日志、

root@verdin-am62-15415780:~# [  354.948175] usb 1-1: new full-speed USB device number 18 using xhci-hcd
[  355.080210] usb 1-1: device descriptor read/64, error -71
[  355.320191] usb 1-1: device descriptor read/64, error -71
[  355.560196] usb 1-1: new full-speed USB device number 19 using xhci-hcd
[  355.692247] usb 1-1: device descriptor read/64, error -71
[  355.932200] usb 1-1: device descriptor read/64, error -71
[  356.044486] usb usb1-port1: attempt power cycle
[  356.460174] usb 1-1: new full-speed USB device number 20 using xhci-hcd
[  356.466927] usb 1-1: Device not responding to setup address.
[  356.680290] usb 1-1: Device not responding to setup address.
[  356.892175] usb 1-1: device not accepting address 20, error -71
[  357.024177] usb 1-1: new full-speed USB device number 21 using xhci-hcd
[  357.030923] usb 1-1: Device not responding to setup address.
[  357.244264] usb 1-1: Device not responding to setup address.
[  357.456176] usb 1-1: device not accepting address 21, error -71
[  357.462436] usb usb1-port1: unable to enumerate USB device

、下面是 USB 部分的原理、

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

    Naveenkumar 您好:

    内核日志显示检测到 USB 全速器件。 我想您没有连接全速器件、对吧? 这种类型的问题通常是由于 DM/DP 信号交换而导致的。

    在连接 USB 设备时、请使用示波器测量 DP 和 DM 信号、以查看上拉哪条线路。

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

    尊敬的@Bin_Liu:

    感谢您的答复。

    我们通常连接支持全速的 USB 驱动器。 我们在开发板上没有遇到此问题。 但在我们的定制板中、我们面临着这个问题。

    我们将检查 DM/DP 信号并告知您详细信息。

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

    Naveenkumar 您好:

    这种类型的问题通常是由于 DM/DP 信号被交换而导致的。

    我上周提供的这些信息实际上是不正确的。 如果日志说检测到低速器件、则会进行 DP/DM 信号交换。 但如果检测到全速器件、则不会出现这种情况。

    但是、如果插入了高速或超高速器件、但日志显示全速、则仍然可能是由于硬件设计或信号完整性的原因。 因此、请继续检查电路板。

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

    尊敬的 Bin Liu

    我们现在能够使 USB 正常工作、我们对硬件进行了一些更改。

    感谢您的支持。

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

    Naveenkumar 您好:

    很高兴听到问题得到解决。 您是否介意解释为解决问题而进行的硬件更改?

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

    我们的一个电路板出现了制造问题。 在其他电路板上、USB 正常工作、无法正常工作的电路板仍在调试中。 找到分辨率后、我将在此处进行更新。

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

    很好、期待更新。