Design and Study of USB Interface Based on S3C2410+μC/OS_Ⅱ

Author
HuangMin
Advisor
LiuJin
School
Liaoning Normal University
Major
Applied Computer Technology
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2008
Downloads
157
Citations
1

Request the full text

Abstract

With the rapid development of computer communication technology, Universe Serial Bus (USB), due to its features such as high speed,many types of transfer supported,plug-and-play and expandability, has become the standard computer interface and a universal way which connects peripheral and computer.. The system is designed for USB device which transforms a mass of data with host computer. The difficult point that USB bus system designs lies in the USB firmware design. Supporting the function of plug-and-play, USB host computer should carry on USB device configuration and the firmware of USB device needs to respond the access of USB host computer real-time when USB apparatus inserts in USB interface each time. Therefore, this paper focuses on the design of the USB device firmware.Firstly, this paper introduces the concept of USB bus, the USB controller (inner controller in S3C2410)and the operating system uC / OS_II, and explains the concept of back-fore ground system and the system with uC/OS_II. Secondly, Firmware Programming of USB Device Based on back-fore ground system and uC/OS_II system is introduced. In the back-fore ground system, this paper introduced data transmission way under the different Pipeline number and the DMA. Under the uC/OS_II operating system using DMA as the transmission mode design two kinds of plan for single buffer and the double buffer, and has realized the control command transmission to equipment through the manufacturer requested. Finally, discussing debug and confirmation mentioned above, downloading 10 pictures of 640X480BMP format to LCD via USB bus, confirmed the accuracy and the reliability of this interface.

Table of contents

Abstract 4-5 Abstract 5-8 an introduction 8-18 1.1 USB Interface Overview 8-11 1.1.1 USB system architecture 8-9 1.1.2 USB interface endpoints and channel 9-10 1.1.3 USB data transfer 10 -11 1.2 front and back office systems and μC / OS-II system Overview 11-14 1.2.1 front desk system 11-12 1.2.2 μC / OS-II system 12-14 1.3 USB controller with built-in USB controller S3C2410 14-17 1.3.1 USB controller Introduction 14 -15 1.3.1.1 serial Interface Engine (SIE) 14-15 1.3.1.2 data Buffer 15 1.3.1.3 register 15 1.3.2 S3C2410 built-in USB controllers 15-17 1.4 topics of significance and major work 17-18 II firmware design 18-31 2.1 initialization 18-22 2.1.1 USB device special registers are initialized 18-19 2.1.1.1 clock control register setting 18 2.1.1.2 USB associated pin control register settings 18 2.1.1.3 for endpoint configuration 18-19 2.1.2 interrupt Initialization 19-22 2.1.2.1 no operating system interrupt initialization 19-20 2.1.2.2 with μC / OS-II operating system interrupt Initialization 20-22 2.1.3 descriptor initialization 22 2.2 USB devices connected to achieve 22-24 2.3 block transfer design 24-30 2.3.1 single-channel transmission 24-26 2.3.2 dual -channel transmission 26-28 2.3.3 DMA transfer mode 28-30 2.4 command control Design 30-31 three , μC / OS-II in the realization 31-37 3.1 single buffering District design 32-35 3.1.1 tasks and memory arrangements 32-33 3.1.2 semaphore arrangements 33-34 <br / > 3.1.3 interrupt handling 34-35 3.2 double buffer design 35-36 3.3 transfers data to prevent clogging solution 36-37 four , debugging methods and test results 37-39 4.1 debugging method 37-38 4.2 debugging results 38-39 V. Summary 39-40 References 40-42 Thanks 42-43 papers published during the master's degree 43

Related dissertations

  1. Embedded Linux-based USB Encryption Driver Design
  2. Optimization and Experimental Study of Multi-Channel Data Transmission Unit
  3. Design of 50MHz-8 channel USB I/O digital device software
  4. Research and Design of Self-Adaptive Data Transmission Software Framework in Resident Environment
  5. The Reseach of Data Transmission Technology in the Environmental Test System
    ZhengWenQiang ·University of North ·2013 ·Master's thesis
  6. The Design and Implement of the File System of Embedded CNC System Using ARM Processor
  7. The Design of Data Collection Platform Based on ARM9 and the Port of μC/OS-Ⅱ Operating System
  8. Research on Staff Training of China Petroleum Pipeline Company
    ZhaoYang ·Liaoning University ·2012 ·Master's thesis
  9. The Design and Implementation of Remote Monitoring System for Solar Hot Water Project
  10. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  11. Usb Without Invasive Data Collection Technology Research
  12. The Manufacture of Synthesized Data Transmission and Collection Module
  13. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  14. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  15. Design and Implementation of Medical Data Monitoring System Based on HL7Standard
    CaoDi ·Zhejiang University of Technology ·2013 ·Master's thesis
  16. Data Acquisition and Management System of Wireless Remote Large-diameter Water Meter
  17. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  18. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  19. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  20. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis