摘要
要在Linux操作系统下开发一款支持智能设备与主机之间通过USB通信的读写控制程序,为了满足控制和通信的需要,要求快速、便捷地开发一款USB设备驱动程序以建立主机和智能设备的连接,同时能够保证数据的正确和稳定传输.为解决上述问题,本文实现了一种Linux操作系统下,基于CyAPI库的USB驱动程序开发方法.在智能设备读写控制程序中对所开发的USB驱动程序进行了验证,通过调用设备驱动程序直接实现了对USB设备的控制和数据传输,同时能够及时正确的收到智能设备的信息反馈,设备驱动程序展现了良好的稳定性.
To develop a read-write control procedures which can support the USB communication between intelligent device and the host under Linux operating system,in order to meet the needs of the control and communicate,under the requirement of developping a USB device driver to establish the connections quickly and conveniently,meanwhile,the transmission between host and intelligent device must be correct and stable.In order to solve the above problems,this paper realizes the development method of USB driver based on CyAPI library under a Linux operating system.In the the development of read-write control procedures of intelligent devices,the USB driver is verified,by calling device driver directly realized the control of the USB device and data transmission,at the same time the information feedback of intelligent device can be received timely and correct,the device driver shows good stability.
作者
万玛宁
侯志化
Wan Ma-ning;Hou Zhi-hua(College of Information Engineering,Capital Normal University,Beijing 100048,China)
出处
《微电子学与计算机》
CSCD
北大核心
2018年第11期124-127,共4页
Microelectronics & Computer
基金
国家自然科学基金(61741211
61772350
61472260)
国家高技术研究发展计划(863计划)(2008AA000000)
体系结构国家重点实验室开放课题(CARCH201607)
北京市科技新星计划(XX2018081)
深圳市科技计划项目(JCYJ20150529164656096
JCYJ20170302153955969)
装备预先研究项目(公开)(JZX2017-0988/Y300)