To change from: [drinking wine network Abstract] http://blog.const.net.cn/a/9033.htm
If the vid and PID in your firmware are 04b4, 1002 (or others, see ezusbw2k for details. INF file support), then your corresponding driver is the ezusb driver file ezusb. sys, ezusbw2k. INF, this driver is the so-called general driver GPD (general purpose drive); correspondingly, the console uses the EZ-USB control panel for debugging, such:
At this time, the host computer becomes programmed using winapi, that is, the standard ioctl function.
The ezusb driver file, Console software, and firmware example can be obtained by installing the cypressez-usbdevelopmentkit on the PC. The version number is 261700 and can be downloaded from the cypress official website.
Correspondingly, if your vid and PID are 04b4, 1004 (or others, see the INF file for details), then your corresponding driver should be cyusb. sys, cyusbpre. INF, the console uses the cypress USB console, such:
The host computer uses the cyapi function. you can install the cy3684 Development Kit and download it from the cypress official website.
In addition, there are three Development kits, Suite USB 3.4.1. Friends who use C # Can get usb c # PC programming in it,
There is also the dvk_1004 Development Kit, there are many Slave FIFO examples, you can install this development kit for reference in the example; then gpif_designer development package, dedicated to the GPIF debugging tool, there are also many examples of GPIF for reference.