Design and Implementation of SD Storage Card
- Author
- ZhaoWei
- Advisor
- XieKangLin
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 1,081
- Citations
- 14
Abstract
The SD card is widely used as a removable storage media, a large number of applications in the field of mobile phones, digital cameras, MP3 players and digital overhead cameras, occupied more than 30% share in the field of mobile storage, share in all memory card the highest, but also the fastest growing of a card, with the further development of the consumer electronics, will thrive. SD card in addition to the high-speed, low-cost, high-capacity, small size, security is its outstanding advantages. But the current market universally popular SD card speed is not high, life is not long. Ordinary SD card read and write speed of 7MB / s to 2MB / s thesis on the design basis for discussion in the SD memory card gives the realization of the process, and to discuss the development platform. Around the increased speed the design and implementation of the system architecture, development environment, the basic module design, and read and write module design. With this realization, can read and write speeds of up to 20MB / s 12MB / s dissertation controller and Nand Flash chips two chips to achieve the hardware portion of the SD card. Which controller is the object that we want to study. In this paper, four modules to design and implement this controller to ensure minimal cost to achieve high speed, to meet the requirements of the project cost and speed, and reached a very high safety requirements. The four modules include the SD communication modules, Nand Flash storage control module, CPRM security module, the microprocessor (to enhance 8051) module. This article is to study four modules, storage technology, communication technology, security technology, to do in-depth study of its internal needs and characteristics, and in the analysis and design of the project. In order to guarantee real-time communications SD SD card communication module design using hardware MAC layer. This article to discuss the contents of this chapter in the SD interface design. From the physical layer protocols, MAC layer protocols, as well as three levels of application layer protocol discussion the SD of communication module. The physical layer is mainly other related problems of the pin definitions and physical layer. The MAC layer is mainly from the frames and synchronization, error control and flow control of the three parts to discuss. Application layer from the command parsing and response generated to the discussion. Divided into three categories in which the command state machine control commands, the SD definition register read and write command, and data read and write commands. Nand Flash is a data storage center of the system, the security of data integrity is the key to the whole system. The various methods used in this paper is to solve the system of reliable storage, the use of reliable and efficient storage. The storage module focuses on the functional requirements. Functional requirements mapping, sub-the operation mapped and address mapping. Address mapping is to map the logical address to the physical address, to discuss some of the problems which should be noted. Operation mapping sector read and write operations is mapped to the Page read and write and Block deletion. In order to maintain the mapping between the address mapping. Mapping relations need to create, store, use, and undo.
Table of contents
Summary 2-4
ABSTRACT 4-8
first chapter 8-11
1.1 Current market popular memory card features are found; 8
1.2 market size and trends 8-9
1.3 the subject Introduction and research content
1.4 thesis chapters introduce 9-11 < br /> the second chapter of the relevant background knowledge 11-22
2.1 8051 technical knowledge to 11-14 the 2.1.1 Standard 8051
11-13
2.1.2 Enhanced 8051 13-14
2.2 communication technology 14-16
2.2.1 OSI-ISO reference model 14-15 <br / the> 2.2.2 SD physical layer Agreement the 15-16 2.3 Nand Flash storage technology 16-19
2.3.1 organizational forms
16-18 <br / > 2.3.2 inherent characteristics 18-19
2.3.3 functional requirements and non-functional requirements 19
2.4 SD card 19-22
2.4 .1 What is the SD card 19-20
2.4.2, the internal structure of the SD card 20-22
Chapter III the SD interface design 22-33 < br /> 3.1 module is divided 22-23
3.2 online transmission to 23-26 frames
3.2.1 composition and synchronization 24-25
the 3.2.2 error control 25-26
3.2.3 Flow control 26
3.3 Application Protocol 26-33
3.3.1 state machine control 27-29
3.3.2 SD defined register 29-30
3.3.3 Data Transfer
30 3.3.4 state 30-33
Chapter Nand Flash storage management design 33-40
4.1 read and write operations interface requirements nbsp 33-34
4.2 Address Mapping 34-37
4.2.1 physical space; 34-35
4.2.2 logical space 35
4.2.3 Address Mapping function 35-36
4.2.4 Management Unit 36
4.2.5 offset value design 36
4.2.6 mapping between the establishment and undo 36-37
4.2.7 mapping between storage 37
4.2.8 mapping relationship 37
4.3 operating mapping 37-39
4.4 redundant area data design 39-40
Chapter security module designed the 40-47 5.1 CPRM agreement
40
, 5.2 C2 algorithm 40-44
5.2.1 Feistel algorithm 41
5.2.2 C2 algorithm framework 41-42
5.2.3 F function algorithm 42-43
5.2.4 key generation algorithm 43
5.2.5 mixed around two-part algorithm 43-44
5.2.6 usage patterns 44
5.3 applications C2 structures CPRM security system 44-46
5.3.1 Hash functions 45
the 5.3.2 period of function (one -way function) 45-46
5.4 C2 with DES, 46-47
Chapter VI system 47-57
6.1 system architecture 47-48
6.2 development environment the 48-51
6.3 basic module 51-57
6.3.1 Main function 51-52
6.3.2 Interrupt 0 function 52
6.3.3 data read operation 52-55
6.3.4 Data write the operation 55 -57
Chapter VII of the test results and analysis 57-62
7.1 test environment 57
7.2 test results 57-61
the 7.2.1 Functional Test The <br 58-59 /> 7.2.2 Performance Test the 59-60 7.2.3 compatibility test
60-61
7.3 test results analysis and improvement 61-62
Chapter VIII summarizes the 62-64
Appendix A register is defined 64-69
Appendix B of global variables defined 69-72
Reference 72-73
Acknowledgements 73-74
pursue a degree during the academic catalog 74
Related dissertations
- Research and Design on Defects Detection System for Natural Gas Pipeline
- The Collection and Storage of Physiological Signals System Based on STM32
- The design of file system for embedded data acquisition device
- Research and implementation of data recorder SD card and embedded USB host based
- Design and Implement of Wide-range Accurate Temperature Measurement and Storage System
- Research and design of intelligent 3D pulse peak field strength tester
- Research on the key technology of Android system data protection
- Research and Implementation of Data Acquisition System Based on OMAP-L138
- Design of Data Delayer and Memorizer Based on FPGA
- Design and Implementation of Wireless Recording Syestem
- The Study and Design for Wireless ECG Tele-mointoring System
- Design and Implementation of Embedded Ethernet Communication Module with Data Storage Capabilities
- Car Radio-cassette System Based on SI4740
- Static Strain Gauge Based on LM3S9B96
- Design On The Environment Temperature Detecting For Distributed Sensor System Based On ZigBee Transceiver
- Study on the gate hoist load acquisition system synchronization and opening signal
- Design of a Linear Displacement Sensor Based Diameter Increment Recorder
- Design and Realization of Learning Machine Based on Cortex-M3and μC/OS-Ⅱ Operating System
- The Development of the Opertaing Platform Based on the Embedded Board Game
- Research on System Images Storage in Embedded Virtualization System