SI test on usb and pcie

Hi all,
For Jetson Nano platform ,we made a customized board and was trying to do eye diagram on USB2.0 and USB3.0 port. do you tell us how test

Hi, please refer to this guide doc in DLC:

Thanks to reply, but i don’t know how to set it, can you tell me?

Set PP (Port Power) in Disabled state by XUSB_XHCI_OP_PORTSC* bit [9] = 0.
USB0: 0x70090460: XUSB_XHCI_OP_PORTSC_4
USB1: 0x70090470: XUSB_XHCI_OP_PORTSC_5
USB2: 0x70090480: XUSB_XHCI_OP_PORTSC_6

Please refer to chapter “Jetson Nano USB SS Compliance Test Guide” to install devmem2 to configure registers.

Set CTE = 1 in PORTSC by writing Ah to XUSB_XHCI_OP_PORTSC[8:5].
devmem2 0x70090420 w 0x10340 // USB_SS#0
write Ah to XUSB_XHCI_OP_PORTSC , but i didn’t see Ah

Did you disable the power management?

What’s your command to read value and what’s the value?

Yes, we have disable the power management using scripts

What’s your command to read value and what’s the value?

our output ,please help us
root@test-desktop:~# devmem2 0x70090430 w 0x10340
/dev/mem opened.
Memory mapped at address 0x7f820fc000.
Value at address 0x70090430 (0x7f820fc430): 0x2A0
Written 0x10340; readback 0x2A0
root@test-desktop:~# devmem2 0x70090420 w 0x10340
/dev/mem opened.
Memory mapped at address 0x7f78859000.
Value at address 0x70090420 (0x7f78859420): 0x2A0
Written 0x10340; readback 0x2A0

What’s the original value of it before writing 0x10340? What’s the reading value of using ‘devmem2 0x70090420’ ?

Is there any USB device plug in?

root@test-desktop:/dev# devmem2 0x70090420
/dev/mem opened.
Memory mapped at address 0x7f85330000.
Value at address 0x70090420 (0x7f85330420): 0xC001263

no, usb3.0 socket is connected only the test fixture

What’s the value of no test fixture connected?

What’s the value read with devmem2 after writing 0x101340, is it 0x2A0 too?

the usb3.0 si is ok after we excute devmem2 0x70090420 ,thanks very much

Now we have another question, when use usb3.0 socket test usb2.0 si, the cmd sequence as follow :

root@test-desktop:~# devmem2 0x70090470
/dev/mem opened.
Memory mapped at address 0x7f974f0000.
Value at address 0x70090470 (0x7f974f0470): 0x2A0
root@test-desktop:~# devmem2 0x70090020
/dev/mem opened.
Memory mapped at address 0x7fa679c000.
Value at address 0x70090020 (0x7fa679c020): 0x805
root@test-desktop:~# devmem2 0x70090024
/dev/mem opened.
Memory mapped at address 0x7f94a41000.
Bus error (core dumped)

when we run step 5
“5 0x70090024 : XUSB_XHCI_OP_USBSTS” occur “bus error(core dumped)”

Can you help me

Are you testing on dev kit? There is a usb hub to line one usb port to four ports. The test setup in guide is for direct connection not for hub.

Why do you test on dev kit? Dev kti has been validated and no need to be tested.

No,we have test usb2.0 si base our customized board

Using our customized board, how can USB 2.0 output signal for testing,
do you have any suggestions,thanks

Did you test successfully on USB0 port? Not sure how you test USB2.0 on USB3.0 port, can you share the schematic?

Did you do step 1 and 2 to plug in a usb device and disable auto-suspend?