USB 2.0 Compliant Test In Hub Layer

I want to set some registers to do the usb 2.0 compliant test. After I set the USBCMD and PORTSC registers with host1 controller core(The host1 core has connect to a High Speed HUB with 4 downstream facing port), there had no correct signal on oscilloscope.

USBCMD = 0x00080B00

PORTSC = 0x1C041000(Test_Packet mode)

Had you ever configed registers to done the usb 2.0 compliant test? Could you please help me. Thanks a lot.

I have solved this problem with a simple program usb_settestmode.c Also one can change this program to set the host to get into Test Mode with changing the Tier 2 Hub Address to Root Hub Address(host), but i do not confirmed that. If someone tried please tell me the results. Thanks anyway!

- We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time.-------------------------------------------------------------------------------

Sorry, my apologize! The actual test layer is hub, because the host1 controller core in my test board has connect to a High Speeed Hub with 4 DownStream facing port. But the signal provided by host does not transmit to hub's port. What should i do next？ Thanks a lot.

I have solved this problem with a simple program usb_settestmode.c Also one can change this program to set the host to get into Test Mode with changing the Tier 2 Hub Address to Root Hub Address(host), but i do not confirmed that. If someone tried please tell me the results. Thanks anyway!