Re: USB driver for device



Hi,
I was told that under XP the device uses a standart virtual comport driver.
Is such a driver (commercially or in source form) available for CE6 ?

Does this mean that de device emulates some kind of standard chip ? Or is
this just a matter of putting the right things in the inf file (for XP) ?
I donot expect that any device could work with such a driver....

Greetings,
Rob.



"Valter Minute" wrote:

=?Utf-8?B?Um9i?= <Rob@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:2E1255E8-8E71-40D1-9F59-3C7A2355CCFE@xxxxxxxxxxxxx:

Hi,
We are developing an USB device in-house that will be connected to
our WINCE6 device. These 2 devices need to be able to send/receive
data to and from each other.

I am looking for the easyest way to achieve this, preferably
without having to write a new USB client driver for the WINCE
side. Can I use some existing driver for this ?
The other layers of USB stack provide all functionality needed, I
need no specific functionality for this device. So I think I need
only a client-driver with basic functionality, which probably
already exists, and link the Device's Vendor/deviceID to it
through some registry settings.

Is there something like "basicUSBDevice.dll" (functionally
speaking) that I could use ?

There is no "generic" USB device driver, but the USB printer driver
can be used as a sample for a very simple bulk-communication driver
(at least for the output part).
If you don't need high or full speed communication and you don't have
a stream of data but, instead, a command-reply mechanism, you may use
HID.
Many device manufacturers (Atmel and microchip, for example) already
provide a USB-HID firmware and implementing a HID-based driver on CE
using standard or custom HID reports may be simpler than implementing
a full usb driver.
If you need in and out data streams, consider that implementing a
device driver that handles two USB pipes and exposes a "serial-port-
like" interface to CE application isn't a complex task if you don't
need to support the connection at full USB speed bandwidth. If you
need to provide the maximum data transfer speed you need to implement
multiple transfers and asyncronous operations and this may require
some additional development, debugging and tuning efforts.

You may also search on the windows embdedded partners site to find
someone that can develop that software component for you.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

.



Relevant Pages