Other Parts Discussed in Thread: AM4378, TPD4S012
Tool/software:
Issue Title : RNDIS USB device mode does not work after being switched from USB host under USB0 OTG mode configuration
SDK version : Linux-rt-am437x-evm-06.03.00.106
My H/W board with AM4378 uses single USB0 port for ethernet connection. And USB0 port is expected to support hot swapping between RNDIS ethernet over USB0 (device mode) and USB0 to ethernet adapter (host mode, Micro USB to RJ45). USB0 is configured as OTG mode in device tree. And the following scenarios (1,2,3) work well. However, test case 4 fails. Do you provide me with any idea for debugging this issue?
1. RNDIS USB device mode : Good
2. USB host mode for USB0 to ethernet adapter : Good
3. Hot swapping from RNDIS USB device mode to USB host mode (USB0 to ethernet adapter) : Good
4. Hot swapping from USB host mode (USB0 to ethernet adapter) to RNDIS USB device mode : Failure