Research on USB Device in Embedded System

Author
ZhangBo
Advisor
ZhangZuoHuang
School
Jiangnan University
Major
Applied Computer Technology
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2008
Downloads
335
Citations
0

Request the full text

Abstract

Embedded system is a fast developing field. As a convenient storage device, USB flash disk is widely applied to the embedded system. At present, more and more embedded products have the function of USB interface. But what it actually refers to is the subordinate machine function. It can’t identify the USB device on own initiative nor control or read/write it. Therefore, the realization of operating USB flash disk files in embedded system has the practical significance and the application prospect.USB flash disk is one kind of commonly used USB mass storage device. USB host is in the core position of USB topology structure. Any USB data transmission must be initiated and controlled by the host. Therefore, to carry on the file operation to USB flash disk in the embedded system, it is necessary to establish USB host system and file system in the embedded system. The embedded USB host system chooses Philips Corporation’s LPC2210 chip as the CPU, ISP1161A1 chip as the host controller chip.First of all, the paper carries on the general development of embedded system and the principle of USB host, and analyzes the embedded real time systemμC/OS-II used in this design, also explained in detail the transplant process ofμC/OS-II on ARM microcontroller LPC2210. Then, the paper analyzes USB protocol and Mass Storage class protocol, realizes the USB driver and Mass Storage class protocol, designs the embedded USB host system, and the host system finishes the enumeration and the configuration function of USB device. Finally, the FAT32 file system is analyzed and suitably cut out, and the FAT file system which is more suitable to the embedded system is also designed, the interface between FAT file system andμC/OS-II is constructed, thus the USB flash disk’s read- write operation on the embedded USB host is realized.According to the method mentioned in the paper, the USBhost system and FAT32 file system were constructed, the anticipated design purpose was realized.

Table of contents

Summary 3-4 Abstract 4-7 The first chapter 7-10 1.1 subject background and significance 7 1.2 Embedded System Overview 7-8 1.2.1 Concept and characteristics of embedded systems 7-8 1.2.2 Development of embedded systems 8 1.3 domestic and foreign research status and development direction 8-9 1.4 research topics 9 1.5 Arrangements section of this article 9-10 Chapter Two USB host system principle 10-17 2.1 USB host system 10-12 2.1.1 USB Host Profile 10-11 2.1.2 USB host controller 11-12 2.1.3 USB driver (USBD) 12 2.2 USB protocol data communication and transmission type 12-15 2.2.1 USB package 12-14 2.2.2 Four types of data transfer USB bus 14-15 2.3 USB device 15-16 enumeration process 2.3.1 USB devices 15 2.3.2 USB device descriptor 15-16 2.4 Summary 16-17 Chapter III of embedded real-time system μC / OS-II analysis and transplantation 17-23 Optional 3.1 μC / OS-II is 17 3.2 μC / OS-II analysis system 17-19 3.2.1 Task Manager 17-18 3.2.2 Time management 18 communication and synchronization between 3.2.3 task 18-19 3.2.4 Memory Management 19 3.3 μC / transplant nbsp OS-II system ; 19-22 3.3.1 modify documents associated with the processor 19-21 3.3.2 μC / transplant nbsp OS-II system ; 21-22 3.4 Summary 22-23 Chapter IV nbsp ARM -based design system hardware platforms ; 23-29 4.1 ARM Overview 23 structure 4.2 ARM microprocessors 23-24 4.2.1 register structure 23 4.2.2 command structure 23-24 4.3 LPC2210 About 24 Select 4.4 USB host chip 24-26 4.5 system hardware platform design 26-28 4.5.1 Main circuit design 26-27 4.5.2 system hardware platform design overview 27-28 4.6 Summary 28-29 Chapter V system software design 29-64 5.1 System Design Overview 29 5.2 USB host system design 29-48 Software architecture 5.2.1 host system 29-30 5.2.2 USB driver design 30-39 5.2.3 Mass Storage Class protocol 39-41 achieve 5.2.4 Mass Storage Class protocol 41-43 5.2.5 Mass Storage driver design 43-44 5.2.6 USB Host implementations 44-48 achieve 5.3 file system 48-61 structure 5.3.1 FAT32 file system 48-49 5.3.2 underlying file system driver design 49-50 5.3.3 File System Design 50-59 Interface nbsp 5.3.4 File System in μC / OS-II used ; 59-60 achieve 5.3.5 file system 60-61 5.4 system debugging and running 61-63 5.4.1 system debugging 61 5.4.2 system running 61-63 5.5 Summary 63-64 Chapter VI Summary and Outlook 64-65 6.1 Project Summary 64 6.2 Prospects 64-65 Thanks 65-66 References 66-69 Appendix: The authors of papers published during the master's degree 69

Related dissertations

  1. Research on Embedded USB Host System Based on ARM
  2. Construction and Study of Embedded Production Data Acquisition System
    LiuHeSheng ·Nanchang University ·2008 ·Master's thesis
  3. Research on the Transplant and Application of the OS for the Vehicular Information Platform
    XuHaiBo ·Wuhan University of Technology ·2007 ·Master's thesis
  4. Design and Research of USB Host System Base on ARM
    XuChengYu ·Harbin Engineering University ·2007 ·Master's thesis
  5. Research of Instrument for the Measurement of the Milk Constituents Based on ARM and μC/OS-Ⅱ
  6. Research on a Portable Moisture Detector of the Building Envelope
  7. The Research on Measurement and Control System of Rotating Bending Fatigue Testing Machine Based on ARM
    WangYongZuo ·Zhejiang University of Technology ·2009 ·Master's thesis
  8. ARM-based embedded operating system μC / OS-II porting and applied research
  9. Development of Experimental Robot Control System Based on ARM
    AnShaoYin ·Harbin Institute of Technology ·2008 ·Master's thesis
  10. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  11. Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
    ShengQingPeng ·Qilu Industrial University ·2014 ·Master's thesis
  12. Research and implementation of data recorder SD card and embedded USB host based
  13. Design of CTD Sensor and Research of Data Processing Technology
    LvZhi ·Harbin Engineering University ·2013 ·Master's thesis
  14. Research on the Iris Recogniton System Based on DSP
  15. μC/OS-Ⅱ-based Recording Player Software Design and Implementation
  16. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  17. Microprocessor Protection Algorithm Based on HHT and Its Platform Development
  18. The Research on Intelligent Monitor Equoment of Reactive Compensation in Changing Ternimal of New Rural Distribution Network
    ZhangLingLing ·Hunan University ·2013 ·Master's thesis
  19. The Research and Application of Real-time CDT Protocol in DC Screen
    JiaChengLong ·Zhejiang Ocean University, ·2014 ·Master's thesis
  20. Research and Design of Truck-Mounted Weighing System
    WangHao ·Chang'an University ·2013 ·Master's thesis