Question

I am working on building a USB Video Class camera, which is supposed to work well with various flavours of Windows. The camera needs firmware upgrade support to upload new software images into it. There are two ways to do it, as far as I know.

  1. Use DFU.
  2. Use control endpoint of the UVC Class device to transfer bytes into the device.

To use the second option, it looks like, one needs to write a Filter Driver. Is this correct? Is there any other way to accomplish this task?

Was it helpful?

Solution

There are several ways to do what you want.

The standard UVC Class driver supports a user mode interface, from which you can send USB packets to the device. This interface is called: USB Video Class Extension Units.

Another way is to use WinUSB, where you install the WinUSB driver for your device. After that you can send USB packets through the WinUSB interface.

The most involved solution would be, to write a complete USB driver. Just see the samples in the WDK.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top