Hello everyone!
I'm working on OMAPL137 evm.Now I met a problem with the use of USB.
I want to transfer data from EVM to windows PC through a USB cable(the EVM is the host).
Since the EVM has USB driver, I connect EVM with PC but PC cannot detect USB device. (I use Windriver to write driver on windows PC)
Should I need to modify the Linux USB driver (ohci-da8xx.c?) and how to use the Linux driver to accomplish my application? Is there any examples?
Thanks, regards.
David,
As you want are connecting EVM to WIndows PC so EVM will be in peripjeral mode and PC will be host. You need to decided which peripheral driver to use on EVM side. There are support for mass storage (g_mass_storage) and usb ethernet driver (cdc and RNDIS) along with other gadget driver.
OHCI-DA8xx.c is for USB1 interface on EVM which is full speed host only and that port can;t be connected to WIndows PC. You need to connect USB0 (MUSB OTG) port to PC,
Ajay
If my reply answers your question then please click on the green button "Verify Answer"