开发者

Communicating with USB device

I am working on building a USB Video Class camer开发者_高级运维a, 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜