Thor JP 7.2.1: USB2 PORTPMSCHS[31:28] not writable (FFFFFFFF → readback 0x0000FFF8)

Platform

· Module / Kit: NVIDIA Jetson AGX Thor Developer Kit

· JetPack: 7.2.1-b49

· L4T: R39 (release), REVISION: 2.0

· Document: Jetson Thor Series Modules I/O Functional Verification Guide

· DA-12308-001_v1.3, Chapter 1 (USB 2.0 test mode)

Enter USB 2.0 host TEST_PACKET mode (PORTPMSCHS[31:28] = 0100b) for HS eye diagram measurement on a Thor USB2 root port (not hub downstream).

What we did (per guide / xHCI sequence)

· echo on > /sys/bus/usb/devices/usb1/power/control

· Stop controller: USBCMD @ 0xa80aa10030 = 0; wait USBSTS Halted

· Disable Port Power (PP): PORTSC bit9 = 0 (Guide Port0 = 0xa80aa10470; also tried all USB2 ports PP=0)

· Write TEST_PACKET: sudo busybox devmem 0xa80aa10474 32 0x40000000

· Readback still 0x00000000

Critical evidence

Writable-mask probe on PORTPMSCHS (Guide Port0 @ 0xa80aa10474):

write: 0xFFFFFFFF

read: 0x0000FFF8

So bits [31:28] (Port Test Control) appear RAZ/WI on this software build. This is different from classic TM_ERROR (0xF) caused by PP not disabled — we already halt + PP=0 and still cannot latch [31:28].

Same mask on all Guide USB2 ports:

0xa80aa10474 / 484 / 494 / 4a4 → 0x0000FFF8

Figure 1 — KEY RESULT: write 0xFFFFFFFF → read 0x0000FFF8

Also tried

· Same sequence on Guide Port0–Port3: same NO_LATCH

· USBDEVFS SetPortFeature(PORT_TEST, TEST_PACKET) on root hub: ioctl OK, Halted, but PORTPMSCHS readback still 0

· We avoid driver unbind: unbind previously hung the system (D-state); recovery uses HCRST only

Topology note

DevKit enumerates external devices behind Realtek hub on Bus001. We understand the guide applies to Thor USB2 root ports, not hub downstream.

Questions for NVIDIA

· On JetPack 7.2.1 / L4T R39.2.0, is PORTPMSCHS[31:28] expected to be writable for USB2 TEST_PACKET as described in DA-12308-001_v1.3 §1.2?

· Does readback 0x0000FFF8 after writing 0xFFFFFFFF indicate this field is disabled/locked on current FW/silicon, or is another programming path required?

· Is a special debug/test image or additional register required to enable USB2 test modes on Thor?

· Which physical root-port / pad should we probe on AGX Thor Developer Kit for USB2 HS eye (pin/connector mapping)?

Hi,

Could you please try the following sequence for USB2 port0 and share the readback values?

  1. Disable autosuspend: echo on > /sys/bus/usb/devices/usb1/power/control1
  2. Read Port Power (port0):
    sudo busybox devmem 0xa80aa10470 32
    if the value is 0x000002A0, clear the PortPower bit (Bit9) to 0
    sudo busybox devmem 0xa80aa10470 32 0x0000000A0
  3. Stop the host controller:
    sudo busybox devmem 0xa80aa10030 32 0x00000004
  4. Read USBSTS and confirm that HCHalted (Bit0) is 1:
    sudo busybox devmem 0xa80aa10034 32
  5. Set USB2 Port0 to Test Packet mode:
    sudo busybox devmem 0xa80aa10474 32 0x40000000
  6. Check whether PORTSC Bits[8:5] is 11
    sudo busybox devmem 0xa80aa10470
    expected value would be 0x00000360

Thank you,