Embedded LINUX USB2.0 device driver design and Implementation
- Author
- FengZuo
- Advisor
- LiGuangJun
- School
- University of Electronic Science and Technology
- Major
- Signal and Information Processing
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 473
- Citations
- 2
Abstract
USB2.0 interface and driver LINUX-based applications has been very extensive , especially in the field of electronic consumer . Based on the the USB2.0 device under LINUX is even more the needs of the market . This paper describes a design based on embedded LINUX USB2.0 device driver mainly discussed a USB mass storage device driver design and test-driven design . The drive is based on independent research and development in schools AHB_USB2.0 IP -core design . The IP core supports USB 2.0 protocol , and is compatible with the USB 1.1 protocol ; to support AMBA 2.0 protocol and the UTMI 1.05 Agreement . Nuclear side of the IP communication; through the the UTMI interface or PHY ULPI interface with USB2.0 host side and the other side is connected to the AHB bus with ARM . USB2.0 device driver design is divided into three modules: system initialization and endpoint 0 parse block data transmission , and UFI agreement analysis . System initialization and Endpoint 0 parsing module main analytical USB protocol , bus enumeration of the USB device ; block data transmission module parse USB the mass transfer protocol BULKONLY agreement , block transfer of data ; the UFI protocol analysis module by parsing the USB the the medium interface protocol UFI command set , the read and write memory virtual FLASH . The drive is designed to follow the USB protocol the Bulk Only protocol and UFI agreement , by a variety of ways to plug the ARM USB device command and UFI command parsing, and perform the appropriate actions to achieve conventional data read and write access , internal or external DMA DMA switch. The IP and driver validation test can be divided into three layers of the the register test channel testing and operational testing . Register test is used to the test register read and write is correct ; the channel test used to test various endpoints transmission mode is working properly ; business test by completing a full U disk drive and test whether able to complete a U disk function. Eventually EDA verification and FPGA testing , and has been implemented in the FPGA embedded ARM core system multiple U disk . FPGA system work correctly , the entire project is successful , USB2.0 driver as well as the test program is successful .
Related dissertations
- Remote Monitoring System Design Based on S3C2440
- The Research of Communication and Storage Technology on Distributed Fault Detecting System of the Train
- Research and Design Based on USB Mass Storage for MCU
- Research on USB Technology and Application to Parameters of Alternating Current Measurement System
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Research and Design of Harmonic Detecting Device Based on ARM9
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Development of Small Smart Controller Software Technology Based on ARM9
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android
- Research and Development of Intelligent Board Based on Multi-sensor Fusion
- Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
- Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
- Research on Accessing Method for Intelligent Retrieval of Massive Multi-Structured Data
- Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
- The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
- The Research and Design of Embedded Linux Based on ST-E9500