Research on Embedded USB Host System Based on ARM
- Author
- ZhangDeXu
- Advisor
- DuDeSheng
- School
- Harbin University of Science and Technology
- Major
- Pattern Recognition and Intelligent Systems
- Classification
- TP368.11 Microprocessor
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 206
- Citations
- 1
Abstract
With the development of PC peripherals and digital products, the interface and connection between any two of them have become a difficult problem. USB has been extensively adopted as a bus interface technology in PCs today. People hope to use USB devices in some embedded systems, but the kernel of USB topology is PC and USB devices cannot use without PC. All the devices can only be used on PC and all the files and data can only be transferred by PC.This is very regrettable.For example, in an industrial area of the data collection,as the portable storage device embedded in general is very limited,always need to use USB Flash Disk as a USB data storage carrier.In this Paper the design and implementation of the hardware and software on both host and device sides are demonstrated based USB protocol in details. According to the design request, the USB1.1 specification is analyzed in this thesis, in which, put the emphasis on the USB system architecture, data communication model, data packet format, USB standard descriptor.Secondly, on the basis of analyzing the USB device Mass Storage Class speciation, the logical communication model between host and device is established.The embedded USB host system choose Philips LPC2210 chip as the CPU, ISP116lA1 as the host control chip.The hardware design of the system mainly describes the chip chosen and circuit design. In the software part, embedded operation systemμC/OS-II was transplanted; the USB host control drive, USB drive and the user software are completed so the enumeration and the configuration of the device can be done. The written and read of the USB flash disk is realized by sending UFI(USB Floppy Interface)command over the interface with file system based on Mass Storage Protocol.According to the method mentioned in the Paper, the USB host system was constructed.
Table of contents
Summary 5-6
ABSTRACT 6-11
Chapter 1 Introduction 11-16
1.1 subject background 11-12 < br /> 1.2 development and achievements at home and abroad and related fields main contents of 12-14
1.3 This article 14-16
Chapter 2 system hardware and software key technology research 16-28
2.1 system structure 16
2.2 LPC2210 About 16-18
2.3 ISP1161A1 About 18-22 <br / > 2.4 real-time operating system μC / OS-II 22-27
2.4.1 task management and scheduling 22-25
2.4.2 time management 25 -26
task communication and synchronization between 2.4.3 26-27
2.5 Summary 27-28
Chapter 3 μC / OS-II in LPC2210 transplant on 28-36
3.1 pretransplant preparation 28-29
3.1.1 compiler choice 28
3.1.2 μC / OS-II transplantation conditions 28-29
3.2 μC / OS-II transplants step 29-35
3.3 Summary 35-36
Chapter 4 USB drive design 36-52
4.1 USB system constitutes enumeration 36-38
4.1.1 USB devices 36-37
4.1.2 USB device descriptor 37-38
4.2 overall software design ideas 38-51
4.2.1 USB device control layer 40-42
4.2.2 USB interface control driver 42-44
4.2.3 application layer 44-48
4.2.4 protocol layer 48-51
4.3 Summary 51-52
Chapter 5 embedded USB host system software design 52-67
5.1 ADS development environment 52-53
5.1.1 Code Warrior 52-53
5.1.2 AXD debugger About 53
5.2 system software startup code 53-57 <br / > 5.2.1 interrupt vector table 53-54
5.2.2 initialized storage systems 54-56
5.2.3 system initialization 56-57
5.3 USB host application to establish divided 57-61
5.3.1 task 57-58
5.3.2 main design 58-59 < br /> 5.3.3 enumeration achieve program 59-61
5.4 Mass Storage class protocol design achieve 61-63
5.5 FAT file system 63 -66
5.6 Summary 66-67
conclusion 67-68
References published during 68-71
master's degree papers 71-72
Thanks 72
Related dissertations
- Research on USB Device in Embedded System
- Design and Implementation of Industrial Gateway Device Based on ARM
- Research and Design of Truck-Mounted Weighing System
- Refueling machine control device based on IFSF protocol
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- Construction and Study of Embedded Production Data Acquisition System
- Research on the Transplant and Application of the OS for the Vehicular Information Platform
- Research of Instrument for the Measurement of the Milk Constituents Based on ARM and μC/OS-Ⅱ
- Research on a Portable Moisture Detector of the Building Envelope
- The Research on Measurement and Control System of Rotating Bending Fatigue Testing Machine Based on ARM
- ARM-based embedded operating system μC / OS-II porting and applied research
- Development of Experimental Robot Control System Based on ARM
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM