Font Size: a A A

Research And Design Based On Embedded Linux, Usb 2.0 Otg Ip Driver

Posted on:2010-01-26Degree:MasterType:Thesis
Country:ChinaCandidate:M XiongFull Text:PDF
GTID:2208360275982864Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Because of the features, such as plug-play, high speed for data exchanging, the Universal Serial Bus(USB) interface has been becoming a popular universal interface for portable peripherals. However, it still does not communicate between two peripherals without host support. Fortunately, the release of On-The-Go(OTG) supplement completely overcome this problem. Any equipment with USB OTG device can not only communicate with personal computer, but also directly exchange data with other equipments by USB interface without host or computer as a bridge. Meanwhile, Linux OS has been becoming a widely used embedded operating system because of the advantages, such as open source, free, and so on.The key of OTG function implement lies in the integrated circuits for USB OTG and its drivers. In this project, USB OTG driver based on embedded Linux OS is designed, and by using self-designed USB2.0 OTG IP, the OTG fuction is implemented. This dissertation first discusses the whole frame of USB2.0 OTG IP, including EHC, OHC, DEV and OTG.; Then, analysis the USB driver system of Embedded Linux in detail, including the USB driver system of host and device, relative data structures and function, as well as the working theory of OTG driver. And then, according to the design demand of USB2.0 OTG IP, the system driver architecture is presented, which includes OTG driver, host driver and device driver. Finally, this dissertation describes the scheduling algorithm of USB driver, and designs the driver for the USB2.0 OTG IP basing on the Embeded Linux OS.In the end, this dissertation briefly introduces the platform for the hardware and the software testing, as well as the method of driver debugging. The contents of the driver testing, some testing results and testing conclusions are also introduced. After analysing the testing result, the driver and USB2.0 OTG IP achieve the expecting goal of USB host function, USB device function and OTG function, which lays the foundation for the further development of OTG application.
Keywords/Search Tags:USB Interface, OTG, Embeded Linux OS, ARM, USB driver
PDF Full Text Request
Related items