阅读:1117回复:3
写自己的INF文件,应该改动哪些地方呢?
高手给指点一下
|
|
沙发#
发布于:2004-07-27 13:37
装一下 CYPRESS的开发包,里面有的。
|
|
板凳#
发布于:2004-07-27 13:39
我列一下:
Running Cypress examples with my own VID/PID and custom driver: (back to top) Question: I have a target board (my own VID and PID) with Cypress chip on it and have my own custom driver. I would like to be able to run your examples on my target board. What procedure do I need to follow. Answer: (1) In the ezusbwin2k.inf (C:\WINDOWS|INF typically) please add the following line to bind your device to our driver %USB\VID_****&PID_*****.DeviceDesc%=EZUSBDEV.Dev, > USB\VID_****&PID_**** after the line %USB\VID_0547&PID_1002.DeviceDesc%=EZUSB.Dev, USB\VID_0547&PID_1002 where ***** is your own VID and PID (2) Restart your computer (3) Connect the USB cable to your target board. (4) Start up the control panel. (5) Hit the "get Device" button (6) You should see your device information displayed on the control panel window. (7) You can now download any example provided in the CD shipped with the development kit. 里面讲的不是很全面。 |
|
地板#
发布于:2004-07-27 20:27
zhongsion兄:
分已经给过了,谢谢你,我是按照颜荣江的书上所写的去做的,晚上试一下,看怎么样! |
|