USB Device Debug
Follow the procedure below to debug USB device mode.
- Replace the current PC USB port with other USB port, to ensure the USB port itself is not a faulty device.
- Replace the current USB cable with other USB cables, to ensure the USB cable itself is not faulty.
- Try the same connection on other PC.
- If your device has multiple USB devices ports, try out on other ports.
- Confirm if the host driver is loaded successfully. Use the following command to verify.
cat /sys/devices/platform/soc/10210000.usbdrd/of_node/dr_mode peripheral
Note: If the folder 10210000.usbdrd does not exist, it means that the host driver is not installed. - Make sure you already have the latest code or patch.
- Under the same condition, compare the registers of the failed board against the ones which are working properly.