嵌入式VxWorks下的PCI总线设计与USB驱动开发
发布时间:2018-02-24 12:30
本文关键词: 系统移植 PCI总线 USB总线 驱动 出处:《华中科技大学》2012年硕士论文 论文类型:学位论文
【摘要】:本文中所介绍的嵌入式系统选用的是摩托罗拉公司生产POWERPC系列处理器,该处理器具有运算速率快,外设功能多,指令运行效率高等特点,是一款非常强大的通信处理器。由于本系统需要运用到高速列车上进行数据传输,对处理器的运算能力提出了更高的要求,因此选择了以POWERPC为核心来设计整个系统。 本文主要介绍了三个方面的工作,分别为:VxWorks操作系统移植,PCI总线设计,USB接口驱动设计。 本系统选用的是VxWorks操作系统,VxWorks具有实时性好,可移植性高的特点。运用在铁路通信上非常适合,可以保证通信的稳定性和实时性。本文介绍了POWERPC处理器结构和VxWorks操作系统,并根据板级支持包的启动流程详细说明了VxWorks操作系统的移植工作。包括板级支持包的编写、配置和调制原理和相关过程,主要是围绕调试过程来阐述系统的启动过程,过程中遇到了很多问题,并给出了相应的解决方案。 本文中介绍了PCI总线的相关标准和数据通信过程,以及整体的硬件、软件设计以及相关的调试过程。根据处理器的外部接口和PCI总线设计的要求,选用了PLX9056这款芯片来完成PCI通信。PLX9056需要完成PCI主桥和PCI子设备的工作,其中一块作为PCI主桥,其他的作为PCI设备。介绍了硬件设计原理以及电路。根据硬件设计,详细说明了各个模块的软件设计。并对调试过程给出了详细叙述。 介绍了USB接口,详细叙述了USB的通信原理和与NANDFLASH、NORFLASH相结合的文件系统。根据设计需求选用了CH376来作为文件管理芯片,完成对U盘和SD卡中的数据访问。结合NANDFLASH、NORFLASH,系统中设计了三者之间数据访问的功能,,本文详细介绍了软件程序设计。 最后给出了对各个程序的调试原理,并对调试过程做出了说明。各个模块的功能均通过调试,能工作稳定正常。但依然有可待改善的地方,文中也写出了部分设计思路。
[Abstract]:The embedded system introduced in this paper is a series of POWERPC processors produced by Motorola Company. The processor has the characteristics of fast computing speed, many peripheral functions, high command efficiency, etc. It is a very powerful communication processor. Because the system needs to be applied to the high-speed train for data transmission, it has higher requirements for the processor's computing ability, so it chooses POWERPC as the core to design the whole system. This paper mainly introduces three aspects of the work, namely, the design of USB interface driver for the PCI bus transplant of the VxWorks operating system. In this system, VxWorks operating system VxWorks has the characteristics of good real-time and high portability. It is suitable for railway communication and can guarantee the stability and real-time of communication. This paper introduces the POWERPC processor structure and VxWorks operating system. According to the startup process of board support package, the transplantation of VxWorks operating system is explained in detail, including the writing, configuration, modulation principle and related process of board support package, which mainly explains the startup process of the system around the debugging process. A lot of problems are encountered in the process, and the corresponding solutions are given. This paper introduces the related standards of PCI bus and the process of data communication, as well as the whole hardware, software design and related debugging process. According to the external interface of the processor and the requirements of the design of PCI bus, The PLX9056 chip is selected to complete the work of PCI communication. PLX9056. PCI main bridge and PCI sub-equipment are needed. One of them is used as PCI main bridge and the other as PCI device. The hardware design principle and circuit are introduced. The software design of each module is explained in detail, and the debugging process is described in detail. This paper introduces the USB interface, describes in detail the communication principle of USB and the file system combined with NAND flash flash. According to the design requirements, CH376 is selected as the file management chip. Data access to U disk and SD card is completed. In combination with NAND flash flash, the function of data access between the three systems is designed. The software programming is introduced in detail in this paper. Finally, the debugging principle of each program is given, and the debugging process is explained. The function of each module can work stably and normally through debugging, but there are still some things to be improved.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.1;TP336
【参考文献】
相关期刊论文 前10条
1 沈海斌,潘国振,何乐年,严晓浪;PCI Bridge智权芯核(IP)的设计研究[J];电路与系统学报;2003年06期
2 彭海兰,张翌晖,蒋志龙;基于PCI总线的高精度数据采集系统[J];电网技术;2004年04期
3 晁建刚 ,魏安阳 ,邱淑范;通用串行总线(USB)设备的驱动[J];电子技术应用;2001年05期
4 汪丽云;徐晓苏;;基于VxWorks的PCI设备驱动程序开发[J];舰船电子工程;2006年01期
5 李立志,张朝阳,陈文正;实时操作系统VxWorks设备驱动程序的编写[J];计算机工程;2003年04期
6 孙庚,蒋国强;USB块传输设备的设计与实现[J];计算机工程;2003年06期
7 赵锡凯,杨申,戴冠中;PCI总线扩展技术研究[J];计算机工程与科学;1997年02期
8 张立倩,白凤山;基于PCI总线的数据传输系统设计[J];内蒙古大学学报(自然科学版);2005年01期
9 马玉英,马义德;PCI总线传输的终止方式探析[J];青海大学学报(自然科学版);2005年04期
10 任秀丽,马春熠;Vx Works操作系统中PCI总线驱动程序的设计与实现[J];沈阳师范学院学报(自然科学版);2001年03期
本文编号:1530244
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1530244.html