STM32的USB虚拟串口设计.doc

STM32的USB虚拟串口设计.doc

ID:51674146

大小:517.64 KB

页数:48页

时间:2020-03-14

STM32的USB虚拟串口设计.doc_第1页
STM32的USB虚拟串口设计.doc_第2页
STM32的USB虚拟串口设计.doc_第3页
STM32的USB虚拟串口设计.doc_第4页
STM32的USB虚拟串口设计.doc_第5页
STM32的USB虚拟串口设计.doc_第6页
STM32的USB虚拟串口设计.doc_第7页
STM32的USB虚拟串口设计.doc_第8页
STM32的USB虚拟串口设计.doc_第9页
STM32的USB虚拟串口设计.doc_第10页
资源描述:

《STM32的USB虚拟串口设计.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、河南城建学院本科毕业设计(论文)中文摘要毕业设计[论文]题目:基于STM32的USB虚拟串口学院:专业:姓名:学号:指导老师:完成时间:2014年5月19日河南城建学院本科毕业设计(论文)中文摘要摘要 USB接口由于支持热插拔和标准统一等特点得到了广泛应用,越来越多的电脑设备开始采用USB接口进行数据的传输,而如何在不改变现有应用软件的情况下,将设备移植到USB接口成为人们研究的热门。 论文以USB通信设备类中的抽象控制模型为基础,研究了通信设备类及实现虚拟设备的原理,设计并实现了基于通信设备类的虚拟串口驱动程序。 论文研究设计了基于通信设备类的虚拟串口驱动程

2、序的结构和实现方案,程序主要由通信命令转换和数据传输两部分构成,通信命令转换符合通信设备类中抽象控制模型的规范,数据传输部分对现有虚拟串口的实现技术进行了改进。论文的主要工作如下:1)研究了USB协议的请求和传输模式,分析了通信设备类实现虚拟设备的方案。2)给出了一种符合通信设备类中抽象控制模型的虚拟串口实现方案。该方案提供了一种基于通信设备类开发虚拟设备的模板,对设计中的诸多问题进行了详细的说明,并改进了虚拟串口驱动程序中数据的处理流程。3)将改进后的数据处理流程应用于虚拟串口的实现中,生成了一种基于通信设备类的稳定、高速的虚拟串口。最后,在串口测试软件下对

3、虚拟串口驱动程序进行了测试,达到了预期目标。关键字:通讯设备类;枚举过程;虚拟串口程序;抽象控制模型46河南城建学院本科毕业设计(论文)英文摘要46河南城建学院本科毕业设计(论文)英文摘要AbstractUSB interface supports plug and play which has unified standards, so it  has a wide range of applications. More and more computer device use USB interface to transfer data, so how t

4、o make many old deaves to support USB interface without changing current application is becoming the hot field. USB Communication Device Class and it's abstract control model are studied, principles of Communication Device Class and implementation techniques of abstract device are a

5、lso analyzed in the thesis. On the basis of this, design and implementation of virtual serial port driver based on Communication Device Class are given. The overall structure and implementation scheme of virtual serial port driver based on CDC are designed. The virtual serial port d

6、river is made up of two parts which are communication command transfer module and data transmission module. The communication command transfer module satisfies the specification of abstract control model, and the data transfer part improves the technique of current virtual serial po

7、rt. The main works in the thesis are as follows:1)The request and transfer model for USB protocol are studied, and the implementation techniques of virtual serial port are analyzed. 2)The implementation scheme of virtual serial port driver that satisfy abstract control mode in CDC i

8、s graven. A new tem

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。