nathanme
驱动牛犊
驱动牛犊
  • 注册日期2010-12-09
  • 最后登录2011-04-27
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望21点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1596回复:1

能否不写驱动,直接通过pci写或读几个字节

楼主#
更多 发布于:2011-04-27 10:31
大家好!
我目前需要通过pci调试自己的一个设备。但由于自己对wdm驱动不熟悉,想跳过驱动直接对pci进行以字(16bit)或字节(8bit)的读写。
我下载了一个软件TVicHW32。可以做一些pci的操作,下面是他的pci方面功能的描述。不知通过这个软件能否实现字节的读写。谢谢大家了!

PCI bus control function set includes the following items:  
 
  
 GetLasPciBus   - returns the last PCI bus number begin from 0 value.  
 
 GetHardwareMechanism - returns the hardware PCI mechanism used on your PC, 1 or 2.  
 
 GetPciHeader  - reads data from the header of the device's PCI configuration space for present Vendor Id and Device Id.  
 
 SetPciHeader   - writes data to the header of the device's PCI configuration space.  
 
 GetPciDeviceInfo     - returns a PCI device info for given bus number, device number and function number.  
 
  

xp4105
论坛版主
论坛版主
  • 注册日期2006-04-02
  • 最后登录2014-03-29
  • 粉丝1
  • 关注0
  • 积分905分
  • 威望570点
  • 贡献值1点
  • 好评度162点
  • 原创分1分
  • 专家分0分
沙发#
发布于:2011-05-18 08:58
似乎不行啊
都是涉及配置空间的读写
时光如流水 抓紧时间实现自我价值
游客

返回顶部