Font Size: a A A

Embedded Linux Usb 2.0 Device Driver Design And Implementation,

Posted on:2009-02-25Degree:MasterType:Thesis
Country:ChinaCandidate:T FengFull Text:PDF
GTID:2208360245960824Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
USB2.0 interface and drivers based on the Embedded LINUX have been used widely, especially in the consumer electronics zone. The USB2.0 equipment based on the Embedded LINUX is especially the need of the market. This paper introduces a USB2.0 Device Driver Design based on the embedded LINUX, Mainly a USB Mass Storage Device Driver Design extremely test-driven design for discussion.The drive is designed for the school-based independent research and development AHB_USB2.0 IP core. The IP core complies with USB1.1 specification. It also supports AMBA 2.0 specification and UTMI1.05 specification. This AHB_USB2.0 IP core communicates with USB bus through UTMI or ULPI interface. It connects with ARM by AHB bus.USB2.0 device driver design is divided into three modules: System initialization and endpoint 0 analyses, Bulk data transfer, UFI protocol analysis. System initialization and endpoint 0 analysis module mainly analysis USB protocol, Implementation of the USB device bus cited; Bulk data transfer module mainly analysis USB mass storage transfer protocol BULKONLY protocol, Implementation of bulk data transmission; UFI protocol analysis module Analysis of media through USB interface protocol UFI command sets, achieved virtual FLASH memory read and write.This drivers design follows the USB2.0 protocol, Bulk Only protocol and the UFI protocol, by the realization of USB devices plug ARM orders and UFI order analysis, and implementation of the corresponding operation, to achieve conventional read and write data access, internal or external DMA DMA, and other mode switching.The drive testing can be divided into the register testing, the channel testing and the operational testing. Register testing mainly used to test whether the correct register read and write; channel endpoint test for testing the various modes of transmission are working properly; operational testing is completed through a complete U-disk drive and test whether it can complete a full U disk.The IP core has passed the EDA verification and software simulation. It has also implemented the function of U disk in a FPGA system. This FPGA system can work properly which proves the success of the driver design.
Keywords/Search Tags:Embedded LINUX, USB, Drivers, Mass Storage, USB Floppy Interface
PDF Full Text Request
Related items