首页 | 本学科首页   官方微博 | 高级检索  
     

基于WinDriver的高速PCI卡驱动开发
引用本文:刘敬辉,简献忠,肖儿良,姜冠祥,蔡留美,郑照平.基于WinDriver的高速PCI卡驱动开发[J].电子科技,2017,30(4):40.
作者姓名:刘敬辉  简献忠  肖儿良  姜冠祥  蔡留美  郑照平
作者单位:(1.上海理工大学 光电信息与计算机工程学院,上海 200093;2.上海雄博精密仪器股份有限公司,上海 200444)
基金项目:上海市宝山区科委产学研基金资助项目(bkw2015130)
摘    要:针对目前大数据背景下如何提高PCI卡高速传输稳定性的问题,文中提出了基于内核中断处理及DMA传输的PCI卡驱动程序设计方法。在WinDriver生成驱动框架的基础上,采取基于VC++6.0平台进行了DMA 数据传输的实现和中断响应处理的PCI驱动程序开发。将驱动程序封装为动态链接库,用户程序调用DLL驱动PCI卡,进行高速数据传输检测。实验发现,当数据传输速度达到131 MB/s时,驱动程序运行稳定可靠不丢帧不错帧,为高速稳定PCI卡驱动程序的设计供了一种思路。

关 键 词:WinDriver  PCI  驱动程序  DLL  

Design on Driver Program of High Speed PCI Card Based on WinDriver
LIU Jinghui,JIAN Xianzhong,XIAO Erliang,JIANG Guanxiang,CAI Liumei,ZHE.Design on Driver Program of High Speed PCI Card Based on WinDriver[J].Electronic Science and Technology,2017,30(4):40.
Authors:LIU Jinghui  JIAN Xianzhong  XIAO Erliang  JIANG Guanxiang  CAI Liumei  ZHE
Affiliation:(1. School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093,China; 2.Shanghai SUPORE Instruments Co.Ltd, Shanghai 200444,China)
Abstract:The method of designing the driver of PCI card was proposed which based on the kernel interrupt handling and DMA transfers, with regard to the problem of improve the stability of high-speed transmission PCI card and the environment of big data. PCI driver had been designed at platform of VC++6.0, which Based on the framework of driver generated by WinDriver, include the DMA data transfer and interrupt response processing. Then the driver was encapsulated into a DLL. User program drove PCI card by calling DLL, and processed the data transfers and detection. It was found that when the speed reached 131 MB/s, the driver was stable and reliable without losing frame or error frame, which provided a new way for the driver of high-speed and stable PCI card.
Keywords:WinDriver  PCI  driver  DLL  
点击此处可从《电子科技》浏览原始摘要信息
点击此处可从《电子科技》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号