TM_ERROR when testing USB 2.0 singal

Hello

I tried to follow “Jetson_TX2_TX2i_USB2_Tuning_Guide_Application_Note” to test usb2 signal.

But I always get TM_ERROR when I set the xUSB Port Test Control registers in PORTPMSCHS register(XUSB_XHCI_OP_PORTPMSCHS_x_TM [31:28])

Below is log. I want to set XUSB_XHCI_OP_PORTPMSCHS_x_TM [31:28] to 4h(TM_PACKET)

But XUSB_XHCI_OP_PORTPMSCHS_x_TM [31:28] is always Fh(TM_ERROR)

root@tegra-ubuntu:/home/nvidia/devmem2-master# cat /sys/bus/usb/devices/usb1/power/control
on
root@tegra-ubuntu:/home/nvidia/devmem2-master# ./devmem2 0x03530460 w 0x200
/dev/mem opened.
Memory mapped at address 0x7fb066e000.
Value at address 0x55772256 (0x7fb066e460): 0x2563
Written 0x512; readback 0x2563
root@tegra-ubuntu:/home/nvidia/devmem2-master# ./devmem2 0x03530020 w 2052
/dev/mem opened.
Memory mapped at address 0x7f814ef000.
Value at address 0x55771168 (0x7f814ef020): 0x2053
Written 0x2052; readback 0x4294969348
root@tegra-ubuntu:/home/nvidia/devmem2-master# ./devmem2 0x03530460 w
/dev/mem opened.
Memory mapped at address 0x7fb5fee000.
Value at address 0x55772256 (0x7fb5fee460): 0x2563
root@tegra-ubuntu:/home/nvidia/devmem2-master# ./devmem2 0x03530460 w 0x4000000000000000
/dev/mem opened.
Memory mapped at address 0x7fac38e000.
Value at address 0x55772256 (0x7fac38e460): 0x2563
Written 0x4611686018427387904; readback 0x17293822569102707203

Do I have any error for this test?

Ho do I solve this problem?

Hi Chen,
Do you check your custom board or NVIDIA default developer kit?

Hello DaneLLL:

I have found the root cause.

The Port Power isn’t in Disabled state.

Thanks for your reply