Embedded USB system theory and recorded instrument
- Author
- ZhangDeWei
- Advisor
- ZhangYi
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP334 External device
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 83
- Citations
- 1
Abstract
Universal Serial Bus (USB) was first aimed at the shortcoming of traditional PC Bus. USB has been used widely in data exchange and storage of PC peripheral and mobile fields because of its characteristics of relative high speed, supporting of“Plug and Play”, relative less requirement of resources.In order to satisfy the requirement of mobile data exchange, it’s necessary to research and develop embedded USB host system. To solve this problem, USB OTG (USB On-The-Go) is one of the best choices. But we find in practice, sometime we need to copy data from one peripheral to lots of other similar peripherals. It’s not a good idea to embedded OTG to all the peripherals. Because first this may increase cost, second sometime these peripherals can not be linked each other. We can develop a new device which contains USB host and peripherals. In virtue of this kind of device, we can easily solve this problem.In this paper, the USB host and peripheral protocol have been analyzed. Then we research and develop a new device named“USB Data Copy Machine”. The main results are as follows:1. Read lots of USB technology data or papers, especially about USB host system and Flash File System;2. Read and research chipset datasheet, make out the system scheme, contains chipset selecting, scheme planning and PCB making;3. Research commercial FFS and FAT16, propose a suitable FFS;4. Research and develop embedded USB host and peripheral firmware.This paper realizes an embedded USB system which contains host and peripheral function. It is a new method and a new settle in the mobile data exchange area.The“USB Data Copy Machine”has been batch-made.
Table of contents
Summary 4-5
ABSTRACT 5-9
chapter the introduction 9-16
1.1 subject background 9-13 < br /> 1.1.1 USB development 10-11
1.1.2 USB's, application 11
1.1.3 USB Features 11-13
1.1.4 USB host embedded 13
1.2 Research significance 13-14
1.3 content and innovation 14-16
Chapter II Overview of USB technology 16-40
the 2.1 architecture 16
2.2 physical interface 16-21
2.2.1 Electrical mechanical properties 16-19
2.2.2 Plug and Play the 19-21 2.3 power management
21-22
2.3.1 Power Distribution nbsp the; 21
2.3.2 powered mode nbsp 21-22
2.3.3 working condition; 22
2.4 the bus-channel 22-23 <br / > 2.4.1 endpoint 22-23
2.4.2 pipeline 23
the 2.5 Transfer Protocol 23-29
2.5.1 communication model 24
2.5.2 bit transmission order 24-25
2.5.3 domain format 25-27
2.5.4 package format 27-29
2.6 transfer type the 29-33 2.6.1 Control Transmission
the the 29-31
2.6.2 batches, transfer 31-33 < br /> 2.7 device framework 33-36
the 2.7.1 standard device descriptor the 33-34
the 2.7.2 standard equipment request 34-35
2.7.3 bus enumeration process the 35-36
2.8 USB host protocol 36-40
2.8.1 USB host controller 37-38 < br /> 2.8.2 USB host system software level 38-39
2.8.3 embedded USB host system 39-40
Chapter hardware design 40-47
3.1 overall program 40-41
3.2 SL811HST 41-42
3.3 SPCE061 42-43
3.4 K9F2808U0C 43-45
3.5 power and mode switch 45-47
a new of the FAT Z_FFS design and achieve 47-57
4.1 TRUEFFS 47-49
4.1.1 TrueFFS architecture 47-48
4.1.2 TrueFFS principle 48-49
4.2 FAT file system 49-51
the 4.2.1 boot sector and BPB 50
4.2.2 FAT data structure 50-51
4.2.3 FAT directory structure 51
4.2.4 file and directory data area 51
4.3 the new Z_FFS the Design and Implementation of 51-57
4.3. a 1 Z_FFS hierarchy 51-52
4.3.2 driver layer 52-53
4.3.3 mapping layer are found; 53-56
4.3.4 functional layer 56-57
Chapter firmware design 57-63
5.1 SL811HST drive 57
5.2 host protocol 57 - 59
5.2.1 USB Affairs the 57-59 5.2.2 Control Transmission
59
5.2.3 device enumeration 59
5.2.4 bulk data transfer 59
5.3 The the equipment framework for 59-61
5.3.1 standard request command 60-61
5.3.2 Equipment the bulk transfer 61
5.4 application protocol the 61-62
5.4.1 frame classification 61
5.4.2 Control frame format 61 -62
5.4.3 command word 62
5.5 system software and hardware FBI 62-63
Chapter VI summarizes 63-64
Acknowledgements 64-65
Reference 65-67
Appendix A circuit schematic diagram 67-68
Appendix B part of the source code 68-71
personal profile and attack Shuo during the research achievements 71
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Design of distributed control system based on embedded platform
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- The Research of CANopen Protocol Based on Embedded Systems
- The Research and Design of Smart Home System Based on Zigbee Technology