Hi,
I've managed to get USB1 working in device mode on AM335x (some minor patches needed on top of 02.00.00.07; see below).
What kind of trouble should I expect to see when trying to use both controllers in device mode simultaneously? I.e., is it known not to work for some reason, or has it simply not been enabled and tested?
Thanks for any heads up before I dive into it.
In usbdenum.c, USBDeviceEnumHandler (two places):
- USBDReadAndDispatchRequest(0);
+ USBDReadAndDispatchRequest(ulIndex);
In usbdenum.c, USBDSetConfiguration:
- USBDeviceConfig(0, ...)
+ USBDeviceConfig(ulIndex, ...)
In addition, there are a few
ASSERT(ulIndex == 0);
that need to be removed/commented out if doing a Debug build.