USB2.0 interface controller chip Design and Implementation of USB - based applications
- Author
- ZhaoLiang
- Advisor
- LinShuiSheng
- School
- University of Electronic Science and Technology
- Major
- Information and Communication Engineering
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 355
- Citations
- 3
Abstract
This article describes the design of a specific USB application the USB2.0 device control chip, and chip flash controller realization detailed description given flash controller simulation and verification of results, indicating The flash controller design to achieve the desired objectives. First USB interface characteristics, the development status of the domestic and international USB2.0 interface chip, the research and development of technology accumulation, USB broad market prospects, pointing out that the current phase of development for USB flash drives designed USB2.0 interface chip has important significance. Overview of the of USB2.0 Protocol and UTMI (USB 2.0 Transceiver Macrocell Interface) interface specification. They are the most basic based on-chip hardware design. Divided into eight modules: the microprocessor (MCU), USB2.0 transceiver device (PHY) chip hardware serial interface engine (SIE), the SIE auxiliary interface (SAI), the data cache the area (DBuf), DMA control controller (DMAC), flash memory controller (FC), MCU bus interface (MITF). The MCU is responsible for the control of the entire chip. The USB2.0 PHY complete UTM functional UTMI interface is presented to the SIE. SIE processing the USB2.0 protocol packets to the peripheral USB protocol packets of data payloads. SAI by the the cache DMA interface of the the SIE application end endpoint data. The cache FLASH interact in Dbuf data. DMAC DMA transfer control between DBuf with Flash. FC responsible for all of the underlying operating on Flash. The MITF module for bus control between each module and the MCU module. The overall operation of the chip is controlled by the MCU firmware. Firmware design follows the Bulk Only agreement, is responsible for parsing the UFI command and perform the appropriate action. The paper also gives the basics of reading and writing data flow. The operation of the flash memory thumb drive speed bottleneck, it designed a direct impact on the overall read and write speed of the flash drive. The organizational structure and operating characteristics of the block / page combined with flash memory (Flash) FC module designed to do a detailed explanation. FC hardware into the the five module: FcDecode, FcCtrl FcSm FcEcc FcMux. FcDecode address lines do the decoding. FcCtrl contains FC most of the control register settings. FcSm state machine realization of seven kinds Flash operation, generate Flash and DMAC module interface timing is a most complex core module. ECC checksum FcEcc read and write data. FcMux MCU the Reading FC register the data switch channels. Program Finally FC module simulation, verification, and validation results in FPGA test platform, the control logic analyzer waveform can be seen that the timing of the operation of all Flash, ultimately derived from test results indicate that the design of the FC reached the desired objectives. And pointed out that the design can be further optimized in the future.
Table of contents
Chapter 1 Introduction 9-12
practical value of 1.1 domestic and international development status and research 9-10
the 1.2 research work to achieve the goal 10 - 11
1.3 subject sources the 11-12
Chapter 2 USB2.0 protocol overview the 12-19 2.1 USB protocol
dominate <br / > 2.2 USB electrical characteristics 12-13
2.3 USB system structure the 13-15
2.3.1 buses, the topology 13
2.3 .2 internal hierarchical relationships 13-14
2.3.3 data stream mode 14-15
2.4 USB transfer mode 15-17
2.4. 1 controls the transmission the 15-16
2.4.2 synchronous transmission 16
2.4.3 interrupt transmission 16
2.4.4 bulk transfer 16-17
2.5 UTMI interface specification 17-18
2.5.1 UTMI interface applications necessity 17
2.5.2 UTM functions 2.6 Chapter Summary 17-18
18-19
Chapter 3 U582.0 interface control chip overall design 19-29
3.1 U582.0 interface controller chip hardware structure 19-25
3.1.1 the MCU module nbsp the; 20-21
3.1.2 U582.0, the PHY module 21
3.1.3 the SIE module the 21-23
3.1.4 SAI module 23-24
the 3.1.5 DBuf module 24
3.1.6 DMAC module 24
3.1.7 FC module 24
3.1.8 Mitf module 24-25
3.2 U582.0 interface control chip works and data flow 25-28
3.3 Chapter Summary 28-29
Chapter 4 flash controller (FC) module circuit design 29-59
4.1 The structure and method of operation of the flash memory 29-36
the 4.1.1 flash memory structure 29-31
4.1.2 flash operation 31-36
4.2 flash memory controller hardware structure 36-58 the
4.2.1 FcDecode The module design 37
4.2.2 FcCtrl module 37-42 <br / > 4.2.3 FcSm module 42-54
4.2.4 FcEcc module 54-58
the 4.2.5 FcMux module, 58
4.3 Chapter Summary 58-59
Chapter 5, simulation and verification of the Flash controller module 59-77
5.1 flash memory controller ModelSim simulation program 59
5.2 the flash controller FPGA verification program and verify results 59-75
5.2.1 MCU the FC internal register read and write 60-61
5.2.2 Flash read operation 61-64
5.2.3 Flash writes 64-68
5.2.4 Flash block erase operation 68-70
5.2.5 Flash page a copyback operation the reset operation 5.2.6 Flash
70-72 72-73
5.2.7 Flash Read ID operation 73
5.2.8 Flash read status operation 73-74
5.2.9 FcMitfPreOver line use the 74-75 5.3 flash memory controller speed test results
75
5.4 to further improve the operating speed of the Flash 75-76
5.5 Chapter Summary 76-77
conclusion 77-78
Reference 78-80
Acknowledgements 80-81
Appendix 81-83
Appendix large page block Flash K9F2G08U0M in the list of commands 81 <br / > the Flash K9F5608U0M of the Appendix II page block list command 81
Appendix the three Samsung 256MB capacity of large blocks of pages Flash ID number defined 81-82 Appendix IV
Samsung 32MB capacity of small blocks of pages Flash ID number defined 82
the the Appendix four pages block Flash K9F2G08U0M status byte defined of Appendix Five small page block Flash K9F5608U0M in 82
state bytes defined 82-83
biographical notes are found; 83
Related dissertations
- Design of a USB2.0 Interface Controller
- Based on ARM core AHB_USB2.0 Interface ASIC design
- USB2.0 interface based the portable mass data acquisition system design methodology
- USB2.0IP nuclear master controller design
- SAR imaging signal processor interface and communication design
- Research and Design of USB2.0 OTG IP Core full-speed host controller
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System