So I ref [Link] to set usb2-0 mode from otg to host, and rebuild the .dtb to put the line to /boot/extlinux/extlinux.conf on target. use below command to check:
Software
(1)extlinux:
OTG $ ls /proc/device-tree/bus@0/padctl@a808680000/ports/usb2-0
Hi,
We have validated the approach on AGX Thor developer kit and it works. Did you try it on developer kit?
And we have a patch to enable otg on AGX Thor developer kit: Jetson AGX Thor FAQ
You may test it on developer kit as a reference design. Since you don’t use same PD controller as our developer kit, it cannot be directly applied to the custom board.
Sorry for misunderstanding on Hardware part, our custom board uses the same Cypress PD controller as the devkit, but we use a Micro-fit connector for power input.
I’ve verified the patch on the developer kit. It works initially but is unstable; the USB device eventually stops being detected after multiple replugs.
Hi,
Could you share what USB device is used? A pendriver or USB camera? What is the failure rate out of 10 trials? We can test the same on AGX Thor developer kit.
What is the failure rate out of 10 trials?
→ It’s quite low; only 3 out of 10 tests passed.
My testing procedure is: once the USB device is detected, I unplug it and swap it for a USB Hub to check for a stable connection. Then, I switch back to the original device. A trial is only considered a “pass” if the device is successfully re-detected after these swaps.
How can I check the status of the I2C_CCG_SCL and I2C_CCG_SDA lines? Can these be accessed or controlled via software? I suspect there is an issue with the signal switching mechanism.
Hi,
On AGX Thor developer kit, the pins are controlled by PD controller. It cannot be controlled via software. PD controller shall set correct status to run in host or device mode.
Hi,
We tested on AGX Thor developer kit J81 port connecting type C to A adapter+ Transcend 128GB JetFlash920 USB disk. It passes plug/unplug test for 40 trials. Don’t hit the failure.
Do you have other C to A adapter or USB disk for a try? Probably the failure is specific to the USB disk.
Regarding your suggestion, I have already tested with a native USB Type-C drive Kingston datatraveler max 256GB, but the stability issues persist. I also tried swapping different USB disks using a Type-C to A adapter, and the results were the same—it remains unstable.
Furthermore, I would like to follow up on my previous query regarding the interrupt status. Could you please verify the state of interrupts = <TEGRA264_MAIN_GPIO(Z, 5) IRQ_TYPE_LEVEL_LOW>; on your side?
Specifically, could you check it using the same method I did: sudo cat /sys/kernel/debug/gpio | grep PZ.05 Lastly, during your 40 trials, did you observe any “ucsi_ccg 2-0008: ucsi_handle_connector_change: GET_CONNECTOR_STATUS failed (-5)” error messages in the dmesg? On my setup, this error appears frequently during plug/unplug events.
To provide more context, we recently purchased an Infineon MiniProg4 programmer to flash the PD Controller (CYPD8225) on our custom board. We downloaded the official firmware image (mtb-example-ccg8d-notebook-dualapp-tbt.hex) from the NVIDIA Jetson Download Center and programmed the chip using the Cypress Programmer tool.
Although the tool reported a “Programming Succeeded” status, the system-level behavior remains incorrect after boot-up:
RCM Port (J81) still fails to function as a host.
Type-C Port (J82) is limited to USB 2.0 (480Mbps) speed instead of operating at USB 3.2 (10Gbps).
During our runtime analysis on the Jetson Linux environment, we observed that running i2cdetect shows UU at address 0x08, indicating that the kernel driver (ucsi_ccg) successfully binds to the chip, but the internal dual-application firmware (Application 1 & 2) might not be fully functional or initialized.
We are also reaching out to Infineon technical support simultaneously to cross-check this behavior. Any insights from your side would be highly appreciated.
Hi,
We are still checking it. On AGX Thor developer kit, we did hit failure few times in 100+ trials. However, it is not consistent. On your custom board, do you have same symptom as developer kit? Seems like no USB3 devices can be successfully enumerated to USB3 on the custom board. Have you done USB compliance test to the custom board?
Regarding our custom board, we found a critical clue regarding the I2C behavior under i2c@c600000. The PD controller responds to address 0x25, which behaves differently from the developer kit. This indicates that the PD controller is currently trapped in Bootloader/Debug mode, preventing the main application firmware from executing fully.
Because of this firmware trap, the expected Type-C functionalities cannot be realized on our board:
The RCM port (J81) fails to switch into Host mode.
The J82 port is alive but falls back to USB 2.0 (480 Mbps) speeds instead of SuperSpeed.
Regarding the USB compliance test: since only J82 is currently operational on our custom board and its speed is limited to USB 2.0, we have only performed the USB 2.0 compliance test so far. The result for the USB 2.0 portion was a PASS. We will proceed with the USB 3.0/Type-C compliance tests once we resolve the PD controller firmware and link-training issues.
No, I haven’t used this tool yet. Have you tried it on your side?
If you have successfully flashed the firmware to the PD controller using this utility, would you mind sharing your procedure and steps? Any insights would be greatly appreciated.
Apologies, I should have looked at pdf before I posted. This utility is for updating KitProg3 firmware on development kits and MiniProg4 stand-alone probes.