Hi yi-chia.lan,
Please try to enable more debug prints with following cmd before connecting OTG cable and USB storage device then provide the log for reference:
Value at address 0x2520284 (0xf7106284): 0x200
Value at address 0x2530284 (0xf7125284): 0x200
Value at address 0x2540284 (0xf7532284): 0x200
Value at address 0x2550284 (0xf757c284): 0x201
Value at address 0x2560284 (0xf7425284): 0x201
Value at address 0x2570284 (0xf71c5284): 0x202
Hi lan,
We found the HW keeps reporting the port link is in ‘Inactive’ state
[ 40.089283] xhci-tegra 3530000.xhci: set port power, actual port 0 status = 0xa0002a0
[ 40.089303] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0xa0002a0
[ 40.089315] xhci-tegra 3530000.xhci: Get port status returned 0x2a0 => USB3.0 OTG port was powered on, port link was in RxDetect
[ 40.089339] xhci-tegra 3530000.xhci: set port power, actual port 0 status = 0x2a0
[ 40.089369] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0x2a0
[ 40.089379] xhci-tegra 3530000.xhci: Get port status returned 0x100 => USB2.0 OTG port was powered on
[ 40.880222] hub 2-0:1.0: hub_resume
[ 40.883822] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0x4002c0
[ 40.891737] xhci-tegra 3530000.xhci: Get port status returned 0x4002c0 => USB3.0 root hub resumed, read port status 0x2c0 reported from HW which indicated port link was in Inactive state
[ 40.964499] usb usb2-port1: do warm reset => XHCI driver issued Warm Reset on USB3.0 OTG port trying to bring the port back to normal state
[ 41.593845] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0x2c0
[ 41.601494] xhci-tegra 3530000.xhci: Get port status returned 0x2c0
[ 41.607818] usb usb2-port1: not enabled, trying warm reset again... => The port couldn't recover from Inactive state, try Warm Reset again
[ 42.310466] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0x2c0
[ 42.318116] xhci-tegra 3530000.xhci: Get port status returned 0x2c0
[ 42.331973] usb usb2-port1: not enabled, trying warm reset again... => The port couldn't recover from Inactive state, try Warm Reset again
[ 43.048415] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0x2a0
[ 43.056064] xhci-tegra 3530000.xhci: Get port status returned 0x2a0
[ 43.062384] usb usb2-port1: Not disabling port; link state is RxDetect => The port was back to RxDetect to detect far end receiver termination
[ 43.122707] hub 2-0:1.0: hub_suspend => USB3.0 root hub was going to suspend
[ 43.355426] hub 2-0:1.0: hub_resume
[ 43.358953] xhci-tegra 3530000.xhci: get port status, actual port 0 status = 0x4002c0
[ 43.366857] xhci-tegra 3530000.xhci: Get port status returned 0x4002c0 => read port link state in Inactive, repeat above sequence
It looks like the quality of TX/RX signals is not good enough. Can you measure the TX/RX signals and compare to Type A signals? Also is the USB3 micro-AB connected to TX2 directly?
Hi DaneLLL,
You said that you didn’t see issues on your internal board which has USB3 micro AB.
May I know that does this board using ID pin for micro AB, and also using USB_OTG_OC connect with OTG_EN??
I have noticed many OTG cables work correctly only for charging. I’d still be interested in seeing that ECN, but it got categorized as code instead of a URL.