Hello!
I have configured USB0 port at the am3354 as OTG. When I plug a USB flash drive into OTG connector (USB_ID pin to GND), everything is OK, and I see USB0_DRVVBUS is HIGH. I can repeat this action many times and everything works. Then I plug my board as a device into PC (USB_ID is floating), I see a new USB device in the "lsusb" output of the PC. USB0_DRVVBUS is LOW, everything is OK.
But when I try to plug a USB flash drive back (USB_ID pin to GND), I don't see anything. USB0_DRVVBUS signal always stays LOW and I can use my board only as a USB-device.
What could be the reason?