UxDIL Software Collection
This folder contains the source and compiled files for a user defined USB device. The demo is using control transfers and an OUT and IN end point for bulk transfers.
After flashing the demo firmware and replug of the device, a driver installation dialogue is launched. The driver files and a suitable inf file will be found in the “drivers” subdirectory of the Windows source files. Make a “manual” driver installation as your choice and choose the drivers sub directory as source for the requested driver files. After this step (successful driver installation), the Windows demo software can be launched.
The Windows demo is based on Borland C++Builder 6. A user defined USB device requires his own drivers! In this example the LibUSB-Win32 drivers are used as interface between the Windows application and the device. This open source driver set is a good choice as an universal driver solution for USB devices. Note: The “usb.lib” file, which is coming with the LibUSB-Win32 file set, has to be included in your project. Use a version, which is matching to your development system. Use “usb.h” as interface to the library.
This example demonstrates how to...
find the device
open the device
transmit data to and receive from device by a control transfer
transmit data to and receive from device by bulk transfers via own end points
close the device
The control transfer demo contains a version info request. The bulk transfer demo contains a string transmission. The device will respond with the same string, but converted into capital letters.
Windows drivers
You will find the required Windows drivers (including necessary inf and cat file) in the sub directory “Example\UserDevice\Windows\drivers”. Choose this directory, when the driver installation dialogue is launching. If the installation procedure is telling, that the same or newer files are still installed, used them (don't overwrite)!