节点文献

基于ARM的嵌入式USB主/从接口设计

The Design of USB Host/Slave Interface in Embedded Systems Based on ARM

【作者】 邓文婷

【导师】 张云生;

【作者基本信息】 昆明理工大学 , 检测技术与自动化装置, 2008, 硕士

【摘要】 USB总线作为一种新型计算机总线,其即插即用、热插拔、接口体积小巧等优点给计算机外设连接技术带来重大变革。简单说来,USB系统包括:USB主机和USB设备。USB外设的开发和基于PC机的USB主机技术已经相当成熟。相对于PC机上的丰富资源,嵌入式系统中有限的资源给基于嵌入式系统的USB主机系统开发带来了很大难度。嵌入式USB系统的研究和开发将更进一步拓宽USB接口技术的应用领域。如何将USB应用到嵌入式领域,实现USB的点对点通讯,成为目前USB研究领域的热点。本系统中选用了Samsung公司的S3C4480芯片作为主CPU,使用Cypress公司的SL811HS芯片作为USB主机控制器,Philips公司的PDIUSBD12芯片作为USB接口芯片,构建了USB主/从控制系统。论文根据设计要求,首先分析了USB1.1协议,对USB的系统体系、数据通信模型、数据包格式、USB标准描述符进行了深入剖析;其次,在仔细分析SL811HS芯片的基础上,重点研究了USB大容量存储设备类规范和FAT32文件系统,进行了主控制器驱动程序和USB核心驱动程序的设计,并建立了USB主机与Mass Storage类设备之间的逻辑通信模型;论文也对USB接口芯片PDIUSBD12进行了深入分析,在进行固件设计的基础上,还深入研究了WindowsXP环境下基于WDM结构的USB驱动程序设计,完成了驱动程序和应用程序的设计。论文针对嵌入式USB系统进行了分析和研究,最终根据文中所提出的方案,设计了无操作系统的嵌入式USB主机和基于WindowsXP开发的USB从机系统。

【Abstract】 USB (Universal Serial Bus) which has hugely changed the development of the technology of connecting computers to external equipments, has lots of advantages, just as plug and play, hot plug, small volume of the interface, and so on. The USB system usually involves two aspects: USB host contoller and USB slave controller. Today, the USB slave system has been extensively adopted and the USB host control applications in PCs are widespread. As the expanding of USB application area, it is more and more necessary to add mobilestorage function to embedded system. But, the limit resources have greatly restricted the development of USB host technology in embeded systems, especially the one which has not an operating system. Now, the application and realization of the USB technology to embeded systems is one of the focuses in the USB-Field.In this USB host/slave control system, we chose Samsung’s S3C44B0 as the central CPU, Cypress’s SL811HS as the USB host controller and Phillips’s PDIUSBD12 as the USB device interface.According to the demand of our projects, this paper analyzed the USB1.1 protocol firstly, from which we can know about the structure of USB system, the model of data-communication, the format of data-package and the standard descriptor of USB. After the design of SL811HS host controller driver and the USB driver, this paper established the model of the logical communication between the USB host controller and slave devices which belong to Mass Storage Class. For the design of the firmware and simple application, the way how to programme USB drivers based on WDM structure in Windows XP systems also have been illustrated in this design.This paper analyzed and summarized the principle and structure of the USB control system, and finally finished the design of the embeded USB host control system which has not operating system and the USB slave system used in Windows XP.

【关键词】 USB嵌入式系统驱动主/从
【Key words】 USBEmbeded SystemDriverHost/Slave
  • 【分类号】TP334.7
  • 【被引频次】4
  • 【下载频次】671
节点文献中: 

本文链接的文献网络图示:

本文的引文网络