仪器可程控USB接口设计与驱动程序开发
发布时间:2018-06-20 04:13
本文选题:数字存储示波器 + USB ; 参考:《电子科技大学》2013年硕士论文
【摘要】:随着科学技术的快速发展,当今数字存储示波器(DSO)性能有着日益显著的提高,功能亦趋向多样化、集成化。数字存储示波器提供了RS232接口、LAN口、GPIB接口、USB接口等多种接口。其中USB即通用串行总线,这种接口自身有许多优点,所以目前已经成为数字存储示波器的必备接口。 本论文针对具有USB接口的数字存储示波器进行一系列的软件开发。根据USB主机从设备模型,将论文软件分为以下两个部分的内容: 首先,当DSO数字存储示波器作为USB设备接到PC机上时,开发PC端针对数字存储示波器的功能驱动程序,使PC机可以识别该仪器,实现windows下操作该仪器,并编写windows的控制台应用程序,操作该仪器,验证驱动的功能。同时开发DSO数字存储示波器PCB板端的固件程序,配合PC端的驱动程序实现PC机对设备的识别、枚举以及配置操作。 其次,当DSO数字存储示波器作为USB主机系统外接存储介质时,开发示波器主机端的软件驱动程序,主要包括主机栈程序,可以实现对USB设备的枚举配置工作并管理设备的拔插操作,以及在主机栈的基础上开发大容量类设备驱动,传输处理层用Bulk-Only传输协议实现,命令块层用到的指令集是UFI,可以实现主机系统读写UFI设备的数据以及获取UFI设备的信息等操作,,然后在此基础之上添加FAT文件系统,增强主机对优盘文件的管理能力。 本论文的研究符合当前数字存数示波器的大体发展趋势,进一步实现了DSO数字存储示波器的功能多样化,对于数字示波器的进一步研发具有积极意义。
[Abstract]:With the rapid development of science and technology, the performance of DSO (Digital Storage Oscilloscope) has been improved day by day, and the functions are becoming diversified and integrated. Digital storage oscilloscope provides RS232 interface LAN interface GPIb interface USB interface and other interfaces. USB is the universal serial bus, this interface has many advantages, so it has become a necessary interface for digital storage oscilloscope. This paper develops a series of software for digital storage oscilloscope with USB interface. According to USB host slave device model, the thesis software is divided into the following two parts: first, when DSO digital storage oscilloscope is connected to PC as USB device, The function driver of PC for digital storage oscilloscope is developed, so that PC can recognize the instrument, realize the operation of the instrument under windows, write the windows console application program, operate the instrument and verify the function of the driver. At the same time, the firmware program of PCB board of DSO digital storage oscilloscope is developed, and the device identification, enumeration and configuration operation are realized with the driver of PC. Secondly, when the DSO digital storage oscilloscope is used as the external storage medium of USB host system, the software driver of the host terminal of the oscilloscope is developed, which mainly includes the host stack program. It can realize the enumeration and configuration of USB devices and manage the device pull-in operation, and develop a large capacity device driver on the basis of host stack. The transport processing layer is realized by Bulk-Only transport protocol. The instruction set used in the command block layer is UFI, which can read and write the data of UFI device and obtain the information of UFI device. Then, the fat file system is added on this basis to enhance the host's ability to manage the USB disk file. The research in this paper accords with the general development trend of the digital storage oscilloscope at present, and further realizes the function diversification of the DSO digital storage oscilloscope, which has positive significance for the further research and development of the digital oscilloscope.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP334.7;TP311.52
【参考文献】
相关期刊论文 前3条
1 宋鹏,窦振中,李凯;USB控制器芯片按功能分类的特性比较[J];电子产品世界;2004年19期
2 钱宇红;;USB数据传输卡WDF驱动程序开发[J];计算机应用与软件;2012年06期
3 春水东流;安装驱动程序更省事[J];网络与信息;2003年05期
相关硕士学位论文 前5条
1 杨文一;Windows磁盘信息分析处理系统的研究与实现[D];厦门大学;2008年
2 张全士;USB接口驱动程序的设计与开发[D];电子科技大学;2009年
3 刘春见;基于DSP的凝析天然气流量计量仪表研制[D];中国石油大学;2009年
4 端木卫建;基于USB2_0传输接口的影碟机视频采集系统[D];山东科技大学;2009年
5 贾欣欣;数字存储示波器USB接口与外设驱动程序设计研究[D];电子科技大学;2010年
本文编号:2042903
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2042903.html