kobebasket
驱动牛犊
驱动牛犊
  • 注册日期2004-04-14
  • 最后登录2005-03-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1117回复:3

写自己的INF文件,应该改动哪些地方呢?

楼主#
更多 发布于:2004-07-27 09:38
高手给指点一下
zhongsion
驱动小牛
驱动小牛
  • 注册日期2002-09-29
  • 最后登录2010-02-01
  • 粉丝0
  • 关注0
  • 积分3分
  • 威望11点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-07-27 13:37
装一下 CYPRESS的开发包,里面有的。
zhongsion
驱动小牛
驱动小牛
  • 注册日期2002-09-29
  • 最后登录2010-02-01
  • 粉丝0
  • 关注0
  • 积分3分
  • 威望11点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于: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.

里面讲的不是很全面。
kobebasket
驱动牛犊
驱动牛犊
  • 注册日期2004-04-14
  • 最后登录2005-03-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2004-07-27 20:27
zhongsion兄:
分已经给过了,谢谢你,我是按照颜荣江的书上所写的去做的,晚上试一下,看怎么样!
游客

返回顶部