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.
Hi TI,
I can generate USB compliance test patterns on AM64 SoC by the following command
# devmem2 0x0f410480 w 0xA0
# devmem2 0x0f410080 w 0x4
# devmem2 0x0f410484 w 0x40000000
However, the test pattern stops transferring before the GL852GT USB 2.0 HUB.
I want to measure the signal at the USB connector behind the USB 2.0 HUB.
They seem to be discarded by USB HUB.
Could I tell the USB 2.0 HUB to forward the signal to port 1 by specifying the destination (downstream port) for the test patterns?
How do I get USB compliance test patterns to pass through the USB 2.0 hub to USB connector 1?
Thanks,
Sean
Hi Sean,
The USB HUB won't forward the test packets from the USB host controller to any HUB downstream port. This is not how USB protocol works.
Instead, the USB host can send SetPortFeature(PORT_TEST) SETUP packet to the HUB to trigger the HUB generating the test packets to a specific HUB downstream port. Please see the USB 2.0 Specifications Section 11.24.2.7.1.9 PORT_TEST for details.
Hi Bin
Search E2C,
Maybe we could try it, if you have other suggestions, please let us know, thanks.
BR,
Taylor
Hi Taylor,
AM64x (and other Sitara processors) don't have a builtin usb hub module, so we don't perform this type of hub test, I am unable to recommend any tool for such test. But I am glad you found a tool, seems you are on the right track.
Hi Tylor and Bin,
The tool is suited for me.
It can trigger the HUB to generate the test packets.
Thanks,
Sean