This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB Driver for OMAPL138

Other Parts Discussed in Thread: OMAPL138, AM1808

Hi,

I 'm using a omapl138 custom board and developing its USB driver.

I wrote a inf  referred to the winusb documents.

When I pluged the usb to the pc,new device could be found and asked for driver.

Unknown device item would be added to the device manage. Open its property detail tab,the device instance id is USB\VID_0000&PID_0000\5&920FCD3&0&2,and hardware ID is USB\UNKNOWN.

In the inf file, I set %DESCRIPTION% correspond to the device id as below.

[Standard.NTx86]
%DESCRIPTION%=DriverInstall, USB\VID_0000&PID_0000\5&920FCD3&0&2

When I specified this file as driver,it was an error  the file didn't contain the hardware information.

I'm not sure whether  the usb VID and PID is normal.

Any help will be appreciated.

  • Yugy,

    I'm not entirely sure, but I would suggest that using a VID/PID of 0000/0000 is not a good idea, and I may have even had occasion when developing our company's USB driver where I inspected the USB VID/PID code as all zeroes when I was failing to register, or hadn't quite got the driver working as expected. I would suggest that you change the USB driver VID/PID to a non-zero value whilst you are developing your device, and obviously use your company's VID when it comes to releasing it into the general populace.

    Yours,

    Peter Myerscough-Jackopson

  • Thanks,Peter Myerscough-Jackopson.

    Do you know how to change the USB driver VID/PID to a non-zero value.I have read the user guide(Universal Serial Bus 2.0(USB 2.0) Controller),unfortunately didn't get any useful information.Would the usb register settings make the VID/PID value be 0?


  • Yugy,

    The VID/PID are set in the device descriptor for the device and are not part of the hardware interface set up.

    If you want a fully working implementation that works with DSP/BIOS and is proven to work reliably, including INF files and documentation, then the company I work for has a driver for the DSP that can provide 1, 2 or 3 emulated usb serial ports. We have a demo example driver to test it out if you are interested too.

    Peter

  • Hi,

    We are working with the AM1808 (like the OMAPL-138 but no DSP).  I found that for Windows XP the following driver inf file "works".

    http://www.davehylands.com/linux/gumstix/usbnet/linux.inf

    http://labs.isee.biz/index.php/Using_USB_ethernet_gadget_to_communicate

    I have also found that on many systems, the Device Manager reports an error "Driver did not start (code 10)".

    I found on another TI-E2E forum a suggested work around of placing a USB Hub between the PC and the target.

    I tried this work around and proved that it works for me.

    Windows 7 supports USB CDC (the actual standard that LINUX uses for USB network connections) so Windows 7 doesn't need a driver "*.inf" file, it can get the proper driver from Windows update.

    That being said, not all installations of Windows 7 are the same.  Windows 7 64-bit seems to work OK connecting to the LINUX target via USB, but Windows 7 32-bit does not.  Thankfully, the USB Hub trick worked for me.