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

Request the full text

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

  1. Remote Monitoring System Design Based on S3C2440
    ZhangTeng ·Chang'an University ·2012 ·Master's thesis
  2. The Research of Communication and Storage Technology on Distributed Fault Detecting System of the Train
    ZhouDong ·Beijing Jiaotong University ·2008 ·Master's thesis
  3. Research and Design Based on USB Mass Storage for MCU
  4. Research on USB Technology and Application to Parameters of Alternating Current Measurement System
    SunZuo ·Ocean University of China ·2004 ·Master's thesis
  5. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  6. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  7. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  8. Research and Design of Harmonic Detecting Device Based on ARM9
  9. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  10. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  11. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  12. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  13. Research on Intelligent Home Furnishing system based on Android
  14. Research and Development of Intelligent Board Based on Multi-sensor Fusion
    WangBaiCai ·Northeastern University ·2013 ·Master's thesis
  15. Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
    LuoJing ·Hunan University ·2013 ·Master's thesis
  16. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  17. Research on Accessing Method for Intelligent Retrieval of Massive Multi-Structured Data
  18. Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
    WangZhiChao ·Central South University ·2013 ·Master's thesis
  19. The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
    ChenWei ·Ningbo University ·2013 ·Master's thesis
  20. The Research and Design of Embedded Linux Based on ST-E9500