Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

USB_dev_bulk example with WINUSB.sys Windows-side drivers

$
0
0

I'm now able to get my USB device to enumerate.  Great!  Next step: Getting the Windows7-side drivers loaded. 

I'm having trouble figuring out the next step.  When I run the TI supplied usb_bulk_example.exe it comes back with a System Error:  "The program can't start because lmusbdll.dll is missing from your computer. Try reinstalling the program to fix this problem."  I tried reinstalling it many times, with no success.  Something must be missing.

 

I'm guessing the missing thing is a .inf file.  So I looked in the Stellarisware USB guide, and it gave a sample .inf file, with notes on how to change it to fit my needs.  But I don't know what to do with the .inf file.  Where do I put it?  What do I do with it?   I can't find more info in the above-mentioned guide. 

The above-mentioned guide gives a link to a Microsoft webpage on their WINUSB.  That link is now old/broken.  MS has moved that page somewhere else.  Microsoft gives a new user-mode component, called WINUSB.dll, a dynamic link library.  This from their website:

The WinUSB architecture consists of a  kernel-mode driver (Winusb.sys) and a user-mode dynamic link library (Winusb.dll) that exposes WinUSB functions.  By using these functions, you can manage USB devices with user-mode software.

Should I be looking at writing my application to use the MS WINUSB.dll instead of the TI supplied lmusbdll.dll as my Windows7-side dynamic link library?   


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>