Font Size: a A A

Based On The Linux Usb Otg Ip Core Device Driver Development Technology

Posted on:2011-12-13Degree:MasterType:Thesis
Country:ChinaCandidate:X Y ChenFull Text:PDF
GTID:2208360308967082Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
OTG (USB On-The-Go) is a major supplement to the USB 2.0 specification. It is widely used in connections and communications among PC peripherals. With the development of the USB technology, the PC and peripherals are connected by simple way. OTG technology makes the peripherals communicate with each other without the computers'partition.This dissertation mainly explains the USB OTG IP core, especially OTG driver, device driver and DMA driver which the author takes part in. The OTG driver is used for the switch between the host module and the device module and written by referring to the OTG protocol (HNP protocol and SRP protocol). After the OTG device is connected, USB OTG IP core switches to the host/device mode according to the OTG request type. In the device mode, the USB OTG IP core is used as a USB device. The device driver is written by referring to the USB protocol and the Mass Storage protocol. The DMA driver is used for improving the IP core's system performance and written by referring to the DMA protocol, the DMA controller specification of the ARM Realview EB, the DMA driver of the S3C2410 and so on. Comparing to the PIO mode, IP core decreases the interrupts, reduces the CPU's burden in order to improve the system performance.Because of its open source, excellent trainability, free software, Linux OS becomes the best in the open source and the first OS in our design. Linux operation system is transplanted into the ARM Realview EB. The test platform for the USB OTG IP core is set up. This dissertation briefly introduces the test platform for the hardware and software, the method of debugging the driver, as well as test course, and gives the result of the test. The result demonstrates that the design of the USB OTG IP core is excellent in performance.The achievement of this project is applied to development of other OTG devices, embedded OTG software development etc. It has a good prospect of application and extension.
Keywords/Search Tags:USB, OTG, DMA, EHCI, OHCI, Device driver
PDF Full Text Request
Related items