Mocking USB input

前端 未结 5 821
庸人自扰
庸人自扰 2020-12-03 20:08

Our product includes some custom hardware, that connects to a PC via USB. We\'ve started looking into automatic testing, but so far I\'m unable to find a tool that can recor

5条回答
  •  甜味超标
    2020-12-03 20:46

    Hardware solution,

    Do you want to generate USB traffic. It's long since I used it, but the CATC protocol analyzer can also generate traffic. http://www.lecroy.com/tm/products/ProtocolAnalyzers/usbtt.asp?menuid=67 And off course, you can write scripts to generate these traffic ...

    Software solution,

    Write your own application to send packets to the USB bus driver, and also check the usbview (shipped with Windows DDK) source code. You can send data directly to any USB pipe. This is less expensive, but a bit difficult than the hardware solution ...

    HTH

提交回复
热议问题