文档介绍:安徽大学硕士学位论文基于ARM的嵌入式USB/以太网转换器的设计与实现姓名:韩超申请学位级别:硕士专业:计算机软件与理论指导教师:刘锋2010-04摘要I 摘要近年嵌入式技术得到了迅速发展已经渗透到各行各业,特别是在硬件上以ARM为代表的32为嵌入式处理器的广泛应用以及在软件开发上工程方法的引入都使嵌入式技术得到了迅速发展。paq、Digital Equipment、IBM、Intel、Microsoft、NEC和Northern 共同提出的USB接口规范(Universal Serial Bus,通用串行总线)作为一种即插即用、快速方便、价格低廉的新型串行通信接口而成为通用计算机和大多数的嵌入式设备的必配接口。的普及,对于许多设备能接入网络是具有重要的现实意义。本文正是基于以上背景,以使嵌入式设备能够脱离PC通过嵌入式USB主机/以太网控制器接入网络通信,设计了基于32位处理器ARM920T内核和CS8900A以太网控制器芯片的USB/以太网协议转换系统。文中,首先,完成了系统的软硬件架构设计并通过对VIVI和U-BOOT的研究完成了启动程序。然后研究了USB的传输协议和体系结构并实现了USB Host端的核心部分,主要包括USB HCD(主机控制器驱动)和USBD(USB核心驱动)的开发。在研究了以太网规范以及熟悉了控制器芯片之后,实现了相应的网络层驱动程序,,通过JTAG接口对目标系统进行调试。同时在整个系统的软件开发中还引入了可重用软件开发方法以使开发出的嵌入式系统软件具有可重用性,在完成各个模块的编程以后对相应模块进行了测试, 测试的结果表明各个模块的功能得到了预期的效果。课题主要完成的工作为启动代码的实现、USB主机协议栈以及以太网驱动等部分. 最后做了总结,讨论了系统的进一步完善以及下一步需要完成的工作。通过以上的研究开发工作,我们实现的嵌入式USB主机/以太网控制器解决了具有USB设备端的嵌入式设备通过USB端口接入网络的问题,文中介绍了其核心部分的实现细节。同时,给出的嵌入式系统的开发流程以及无操作系统下的USB主基于ARM的嵌入式USB/以太网转换器的研究与设计机和以太网控制器驱动的开发都可以为其他开发者提供一定的技术参考。关键词:嵌入式系统 ARM USB主机控制器驱动 USB核心驱动 CS8900AAbstract IIIAbstract In recent years, the rapid development of embedded technology has rated into all walks of life, especially in the hardware with ARM as the representative of 32-bit processor widely used for embedded processors as well as in software development, engineering was introduced to the introduction of embedded technology. paq, Digital Equipment, IBM, Intel, Microsoft, NEC and Northern to co-sponsor of the USB (Universal Serial Bus) as a plug and play, quick and easy, and cheap new serial munication interface has been the party of a general-puters and most of the embedded devices. Furthmore,with the development work technology and the popularization of , It has an important practical signigicance for many devices can work. Based on the above background,this paper wants to make the embedded devices to work, by the embedded USB host / Controller Protocol Conversion System,without the PC. The designed protocol conversion system is based on 32-bit processor A