logo资料库

SD Specifications Part 1 - Physical Layer Specification 4.0.pdf

第1页 / 共202页
第2页 / 共202页
第3页 / 共202页
第4页 / 共202页
第5页 / 共202页
第6页 / 共202页
第7页 / 共202页
第8页 / 共202页
资料共202页,剩余部分请下载后查看
Panasonic Corporation
SanDisk Corporation
Toshiba Corporation
Revision History
Release of SD Simplified Specification
Conditions for publication
Publisher and Copyright Holder:
Notes:
Disclaimers:
Conventions Used in This Document
Naming Conventions
Numbers and Number Bases
Key Words
Application Notes
1. General Description
2. System Features
3. SD Memory Card System Concept
3.1 Read-Write Property
3.2 Supply Voltage
3.3 Card Capacity
3.3.1 User Area and Protected Area
3.3.2 Card Capacity Classification
3.4 Speed Class
3.5 Bus Topology
3.6 Bus Protocol
3.6.1 SD Bus Protocol
3.6.2 SPI Bus Protocol
3.6.3 UHS-II Bus Protocol
3.7 SD Memory Card–Pins and Registers
3.7.1 SD Bus Pin Assignment
3.7.2 UHS-II Pin Assignment
3.8 ROM Card
3.8.1 Register Setting Requirements
3.8.2 Unsupported Commands
3.8.3 Optional Commands
3.8.4 WP Switch
3.9 Ultra High Speed Phase I (UHS-I) Card
3.9.1 UHS-I Card Operation Modes
3.9.2 UHS-I Card Types
3.9.3 UHS-I Host and Card Combination
3.9.4 UHS-I Bus Speed Modes Selection Sequence
3.9.5 UHS-I System Block Diagram
3.9.6 Summary of Bus Speed Mode for UHS-I Card
3.10 Ultra High Speed Phase II (UHS-II) Card
3.10.1 UHS-II Card Operation Modes
3.10.2 UHS-II Card Type
3.10.3 UHS-II Host and Card Combination
3.10.4 UHS-II Interface Selection Sequence
3.10.5 Summary of Bus Speed Mode for UHS-II Card
4. SD Memory Card Functional Description
4.1 General
4.2 Card Identification Mode
4.2.1 Card Reset
4.2.2 Operating Condition Validation
4.2.3 Card Initialization and Identification Process
4.2.3.1 Initialization Command (ACMD41)
4.2.4 Bus Signal Voltage Switch Sequence
4.2.4.1 Initialization Sequence for UHS-I
4.2.4.2 Timing to Switch Signal Voltage
4.2.4.3 Timing of Voltage Switch Error Detection
4.2.4.4 Voltage Switch Command
4.2.4.5 Tuning Command
4.2.4.6 An Example of UHS-I System Block Diagram
4.3 Data Transfer Mode
4.3.1 Wide Bus Selection/Deselection
4.3.2 2 GByte Card
4.3.3 Data Read
4.3.4 Data Write
4.3.5 Erase
4.3.6 Write Protect Management
4.3.7 Card Lock/Unlock Operation
4.3.7.1 General
4.3.7.2 Parameter and the Result of CMD42
4.3.7.3 Forcing Erase
4.3.7.3.1 Force Erase Function to the Locked Card
4.3.7.4 Relation Between ACMD6 and Lock/Unlock State
4.3.7.5 Commands Accepted for Locked Card
4.3.7.6 Two Types of Lock/Unlock Card
4.3.8 Content Protection
4.3.9 Application-Specific Commands
4.3.9.1 Application-Specific Command – APP_CMD (CMD55)
4.3.9.2 General Command - GEN_CMD (CMD56)
4.3.10 Switch Function Command
4.3.10.1 General
4.3.10.2 Mode 0 Operation - Check Function
4.3.10.3 Mode 1 Operation - Set Function
4.3.10.4 Switch Function Status
4.3.10.4.1 Busy Status Indication for Functions
4.3.10.4.2 Data Structure Version
4.3.10.4.3 Function Table of Switch Command
4.3.10.5 Relationship between CMD6 Data and Other Commands
4.3.10.6 Switch Function Flow Example
4.3.10.7 Example of Checking
4.3.10.8 Example of Switching
4.3.11 High-Speed Mode (25 MB/sec interface speed)
4.3.12 Command System
4.3.13 Send Interface Condition Command (CMD8)
4.3.14 Command Functional Difference in Card Capacity Types
4.4 Clock Control
4.5 Cyclic Redundancy Code (CRC)
4.6 Error Conditions
4.6.1 CRC and Illegal Command
4.6.2 Read, Write and Erase Timeout Conditions
4.6.2.1 Read
4.6.2.2 Write
4.6.2.3 Erase
4.7 Commands
4.7.1 Command Types
4.7.2 Command Format
4.7.3 Command Classes
4.7.4 Detailed Command Description
4.7.5 Difference of SD Commands Definition in UHS-II
4.8 Card State Transition Table
4.9 Responses
4.9.1 R1 (normal response command):
4.9.2 R1b
4.9.3 R2 (CID, CSD register)
4.9.4 R3 (OCR register)
4.9.5 R6 (Published RCA response)
4.9.6 R7 (Card interface condition)
4.10 Two Status Information of SD Memory Card
4.10.1 Card Status
4.10.2 SD Status
4.11 Memory Array Partitioning
4.12 Timings
4.13 Speed Class Specification
4.13.1 Speed Class Specification for SDSC and SDHC
4.13.1.1 Allocation Unit (AU)
4.13.1.2 Recording Unit (RU)
4.13.1.3 Write Performance
4.13.1.4 Read Performance
4.13.1.5 Performance Curve Definition
4.13.1.6 Speed Class Definition
4.13.1.7 Consideration for Inserting FAT Update during Recording
4.13.1.7.1 Measurement Condition to determine Average TFw
4.13.1.7.2 Maximum FAT Write Time
4.13.1.8 Measurement Conditions and Requirements of the Speed Class
4.13.1.8.1 Measurement Conditions
4.13.1.8.2 Requirements of the Performance Parameters for Each Speed Class
4.13.1.8.3 Requirements of SD File System
4.13.1.9 CMD20 Support
4.13.2 Speed Class Specification for SDXC
4.13.2.1 Speed Class Parameters
4.13.2.1.1 AU
4.13.2.1.2 RU
4.13.2.2 Write Performance
4.13.2.2.1 Measurement of Pw
4.13.2.2.2 Performance Move
4.13.2.3 Read Performance
4.13.2.4 FAT Update
4.13.2.5 CI (Continuous Information) Update
4.13.2.6 Distinction of Data Type
4.13.2.7 Measurement Conditions and Requirements of the Speed Class for SDXC
4.13.2.7.1 Measurement Conditions
4.13.2.7.2 Requirements of the Performance Parameters for Each Speed Class
4.13.2.7.3 Requirements of SD File System
4.13.2.8 Speed Class Control Command (CMD20)
4.13.2.8.1 Definition of Each Function
4.13.2.8.2 Requirements for Speed Class Host
4.13.2.9 Example of Speed Class Recording Sequence
4.13.3 Speed Grade Specification for UHS-I and UHS-II
4.13.3.1 Speed Grade Parameters
4.13.3.1.1 UHS Speed Grade
4.13.3.1.2 AU (Allocation Unit)
4.13.3.1.3 RU (Recording Unit)
4.13.3.1.4 Pw (Write Performance)
4.13.3.1.5 Pm (Performance Move)
4.13.3.1.6 Pr and TFR(4KB) (Read Performance)
4.13.3.1.7 UHS-II Parameters
4.13.3.2 Support of Speed Class Control Command (CMD20)
4.13.3.3 Speed Grade Measurement Conditions
4.13.3.4 Notes for Preparation Time of UHS-I and UHS-II Card
4.13.3.5 Host Operating Frequency
4.14 Erase Timeout Calculation
4.14.1 Erase Unit
4.14.2 Case Analysis of Erase Time Characteristics
4.14.3 Method for Erase Large Areas
4.14.4 Calculation of Erase Timeout Value Using the Parameter Registers
4.15 Set Block Count Command
5. Card Registers
5.1 OCR register
5.2 CID register
5.3 CSD Register
5.3.1 CSD_STRUCTURE
5.3.2 CSD Register (CSD Version 1.0)
5.3.3 CSD Register (CSD Version 2.0)
5.4 RCA register
5.5 DSR register (Optional)
5.6 SCR register
5.7 Function Extension Specification
5.7.1 Extension Register Space
5.7.2 Extension Register Commands
5.7.2.1 Extension Register Read Command (Single Block)
5.7.2.2 Extension Register Write Command (Single Block)
5.7.2.3 Multiple Block Data Transfer
5.7.2.4 Extension Register Read Command (Multi-Block)
5.7.2.5 Extension Register Write Command (Multi-Block)
5.7.2.6 Error Status Indication
5.7.3 General Information
5.7.3.1 Common Header Fields
5.7.3.1.1 Structure Revision (2-byte)
5.7.3.1.2 General Information Length (2-byte)
5.7.3.1.3 Number of Extensions (1-byte)
5.7.3.2 Function Fields per Function
5.7.3.2.1 Standard Function Code (SFC 2-byte)
5.7.3.2.2 Function Capability Code (FCC 2-byte)
5.7.3.2.3 Function Manufacturer Code (FMC 2-byte)
5.7.3.2.4 Function Manufacturer Name (FMN 16-byte)
5.7.3.2.5 Particular Function Code (PFC 2-byte)
5.7.3.2.6 Function Name (FN 16-byte)
5.7.3.2.7 Pointer to Next Extension (2-byte)
5.7.3.2.8 Number of Register Sets (1-byte)
5.7.3.2.9 Extension Register Set Address (4-byte for each)
5.7.4 Revision Management
5.8 Application Specification on Function Extension
5.8.1 Power Management Function
5.8.1.1 Abstract of Power Management Function
(1) Features of Power Off Notification
(2) Features of Power Sustenance
(3) Features of Power Down Mode
5.8.1.2 Extension Register Set for Power Management
5.8.1.3 Power Off Notification
5.8.1.4 Power Sustenance
5.8.1.5 Power Down Mode
5.8.1.6 General Information of Power Management Function
6. SD Memory Card Hardware Interface
6.1 Hot Insertion and Removal
6.2 Card Detection (Insertion/Removal)
6.3 Power Protection (Insertion/Removal)
6.4 Power Scheme
6.4.1 Power Up Sequence for SD Bus Interface
6.4.1.1 Power Up Time of Card
6.4.1.2 Power Up Time of Host
6.4.1.3 Power On or Power Cycle
6.4.1.4 Power Supply Ramp Up
6.4.1.5 Power Down and Power Cycle
6.4.2 Power Up Sequence for UHS-II Interface
6.4.2.1 Power Up Sequence of UHS-II Card
6.4.2.2 Power Up Sequence of UHS-II Host
6.5 Programmable Card Output Driver (3.3V Single End) (Optional)
6.6 Bus Operating Conditions for 3.3V Signaling
6.7 Driver Strength and Bus Timing for 1.8V Signaling
6.8 Electrical Static Discharge (ESD) Requirement
7. SPI Mode
7.1 Introduction
7.2 SPI Bus Protocol
7.2.1 Mode Selection and Initialization
7.2.2 Bus Transfer Protection
7.2.3 Data Read
7.2.4 Data Write
7.2.5 Erase & Write Protect Management
7.2.6 Read CID/CSD Registers
7.2.7 Reset Sequence
7.2.8 Error Conditions
7.2.9 Memory Array Partitioning
7.2.10 Card Lock/Unlock
7.2.11 Application Specific Commands
7.2.12 Content Protection Command
7.2.13 Switch Function Command
7.2.14 High Speed Mode
7.2.15 Speed Class Specification
7.3 SPI Mode Transaction Packets
7.3.1 Command Tokens
7.3.1.1 Command Format
7.3.1.2 Command Classes
7.3.1.3 Detailed Command Description
7.3.1.4 Card Operation for CMD8 in SPI mode
7.3.2 Responses
7.3.2.1 Format R1
7.3.2.2 Format R1b
7.3.2.3 Format R2
7.3.2.4 Format R3
7.3.2.5 Formats R4 & R5
7.3.2.6 Format R7
7.3.3 Control Tokens
7.3.3.1 Data Response Token
7.3.3.2 Start Block Tokens and Stop Tran Token
7.3.3.3 Data Error Token
7.3.4 Clearing Status Bits
7.4 Card Registers
7.5 SPI Bus Timing Diagrams
7.6 SPI Electrical Interface
7.7 SPI Bus Operating Conditions
7.8 Bus Timing
8. Sections Effective to SD I/F Mode and UHS-II Mode
Appendix A (Normative) : Reference
A.1 Related Documentation
Appendix B (Normative) : Special Terms
B.1 Terminology
B.2 Abbreviations
Appendix C (Informative) : Examples for Fixed Delay UHS-I Host Design
Appendix D : UHS-I Tuning Procedure
Appendix E : Host Power Delivery Network (PDN) Design Guide
Appendix F : Application Notes of Extension Function
F.1 Identification of Function Driver
SD Specifications Part 1 Physical Layer Simplified Specification Version 4.10 January 22, 2013 SD Group Panasonic Corporation SanDisk Corporation Toshiba Corporation Technical Committee SD Card Association
Physical Layer Simplified Specification Version 4.10 Revision History Date April 3, 2006 Version 1.10 ©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association September 25, 2006 May 18, 2010 January 22, 2013 2.00 3.01 4.10 Changes compared to previous issue Physical Layer Simplified Specification Version 1.10 initial release. (Supplementary Notes Ver1.00 is applied.) Physical Layer Simplified Specification Version 2.00 Physical Layer Simplified Specification Version 3.01 Physical Layer Simplified Specification Version 4.10 To the extent this proposed specification, which is being submitted for review under the IP Policy, implements, incorporates by reference or refers to any portion of versions 1.0 or 1.01 of the SD Specifications (including Parts 1 through 4), adoption of the proposed specification shall require Members utilizing the adopted specification to obtain the appropriate licenses from the SD-3C, LLC, as required for the utilization of those portion(s) of versions 1.0 or 1.01 of the SD Specifications. For example, implementation of the SD Specifications in a host device under versions 1.0 or 1.01 and under the adopted specification requires the execution of a SD Host Ancillary License Agreement with the SD-3C, LLC; and implementation of the SD Specifications under versions 1.0 or 1.01 and under the proposed specification in a SD Card containing any memory storage capability (other than for storage of executable code for a controller or microprocessor within the SD Card) requires the execution of a SD Memory Card License Agreement with the SD-3C, LLC. i
Notes: This Simplified Specification is provided on a non-confidential basis subject to the disclaimers below. Any implementation of the Simplified Specification may require a license from the SD Card Association or other third parties. Disclaimers: The information contained in the Simplified Specification is presented only as a standard specification for SD Cards and SD Host/Ancillary products and is provided "AS-IS" without any representations or warranties of any kind. No responsibility is assumed by the SD Card Association for any damages, any infringements of patents or other right of the SD Card Association or any third parties, which may result from its use. No license is granted by implication, estoppel or otherwise under any patent or other rights of the SD Card Association or any third party. Nothing herein shall be construed as an obligation by the SD Card Association to disclose or distribute any technical information, know-how or other confidential information to any third party. ©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association Physical Layer Simplified Specification Version 4.10 Release of SD Simplified Specification The following conditions apply to the release of the SD simplified specification ("Simplified Specification") by the SD Card Association. The Simplified Specification is a subset of the complete SD Specification which is owned by the SD Card Association. Conditions for publication Publisher and Copyright Holder: SD Card Association 2400 Camino Ramon, Suite 375 San Ramon, CA 94583 USA Telephone: +1 (925) 275-6615, Fax: +1 (925) 886-4870 E-mail: office@sdcard.org ii
©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association Physical Layer Simplified Specification Version 4.10 Conventions Used in This Document Naming Conventions ● Some terms are capitalized to distinguish their definition from their common English meaning. Words not capitalized have their common English meaning. Numbers and Number Bases ● Hexadecimal numbers are written with a lower case "h" suffix, e.g., FFFFh and 80h. ● Binary numbers are written with a lower case "b" suffix (e.g., 10b). ● Binary numbers larger than four digits are written with a space dividing each group of four digits, as in 1000 0101 0010b. ● All other numbers are decimal. Key Words • May: • Shall: • Should: Indicates flexibility of choice with no implied recommendation or requirement. Indicates a mandatory requirement. Designers shall implement such mandatory requirements to ensure interchangeability and to claim conformance with the specification. Indicates a strong recommendation but not a mandatory requirement. Designers should give strong consideration to such recommendations, but there is still a choice in implementation. Application Notes Some sections of this document provide guidance to the host implementers as follows: Application Note: This is an example of an application note. iii
Physical Layer Simplified Specification Version 4.10 ©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association Table of Contents 1. General Description ............................................................................................................ 1 2. System Features ................................................................................................................. 3 3. SD Memory Card System Concept .................................................................................... 5 3.1 Read-Write Property ................................................................................................................... 5 3.2 Supply Voltage ............................................................................................................................ 5 3.3 Card Capacity ............................................................................................................................. 5 3.3.1 User Area and Protected Area .............................................................................................. 5 3.3.2 Card Capacity Classification ................................................................................................. 5 3.4 Speed Class ............................................................................................................................... 5 3.5 Bus Topology .............................................................................................................................. 6 3.6 Bus Protocol ............................................................................................................................... 7 3.6.1 SD Bus Protocol ................................................................................................................... 7 3.6.2 SPI Bus Protocol ................................................................................................................ 10 3.6.3 UHS-II Bus Protocol ........................................................................................................... 10 3.7 SD Memory Card–Pins and Registers ....................................................................................... 11 3.7.1 SD Bus Pin Assignment ....................................................................................................... 11 3.7.2 UHS-II Pin Assignment ....................................................................................................... 13 3.8 ROM Card ................................................................................................................................ 14 3.8.1 Register Setting Requirements ........................................................................................... 14 3.8.2 Unsupported Commands .................................................................................................... 14 3.8.3 Optional Commands ........................................................................................................... 14 3.8.4 WP Switch .......................................................................................................................... 14 3.9 Ultra High Speed Phase I (UHS-I) Card .................................................................................... 15 3.9.1 UHS-I Card Operation Modes ............................................................................................. 15 3.9.2 UHS-I Card Types .............................................................................................................. 15 3.9.3 UHS-I Host and Card Combination ..................................................................................... 16 3.9.4 UHS-I Bus Speed Modes Selection Sequence ................................................................... 17 3.9.5 UHS-I System Block Diagram ............................................................................................. 18 3.9.6 Summary of Bus Speed Mode for UHS-I Card ................................................................... 19 3.10 Ultra High Speed Phase II (UHS-II) Card ................................................................................ 20 3.10.1 UHS-II Card Operation Modes .......................................................................................... 20 3.10.2 UHS-II Card Type ............................................................................................................. 20 3.10.3 UHS-II Host and Card Combination .................................................................................. 20 3.10.4 UHS-II Interface Selection Sequence ............................................................................... 21 3.10.5 Summary of Bus Speed Mode for UHS-II Card ................................................................. 23 4. SD Memory Card Functional Description ....................................................................... 24 4.1 General ..................................................................................................................................... 24 4.2 Card Identification Mode ........................................................................................................... 25 4.2.1 Card Reset ......................................................................................................................... 25 4.2.2 Operating Condition Validation ........................................................................................... 25 4.2.3 Card Initialization and Identification Process ...................................................................... 27 4.2.3.1 Initialization Command (ACMD41) .......................................................................................... 29 4.2.4 Bus Signal Voltage Switch Sequence ................................................................................. 30 iv
Physical Layer Simplified Specification Version 4.10 ©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association 4.2.4.1 Initialization Sequence for UHS-I ............................................................................................ 30 4.2.4.2 Timing to Switch Signal Voltage .............................................................................................. 31 4.2.4.3 Timing of Voltage Switch Error Detection ............................................................................... 31 4.2.4.4 Voltage Switch Command ....................................................................................................... 31 4.2.4.5 Tuning Command .................................................................................................................... 31 4.2.4.6 An Example of UHS-I System Block Diagram ........................................................................ 32 4.3 Data Transfer Mode .................................................................................................................. 33 4.3.1 Wide Bus Selection/Deselection ......................................................................................... 35 4.3.2 2 GByte Card ..................................................................................................................... 35 4.3.3 Data Read .......................................................................................................................... 35 4.3.4 Data Write .......................................................................................................................... 36 4.3.5 Erase .................................................................................................................................. 38 4.3.6 Write Protect Management ................................................................................................. 38 4.3.7 Card Lock/Unlock Operation............................................................................................... 39 4.3.7.1 General .................................................................................................................................... 39 4.3.7.2 Parameter and the Result of CMD42 ...................................................................................... 41 4.3.7.3 Forcing Erase .......................................................................................................................... 43 4.3.7.3.1 Force Erase Function to the Locked Card ....................................................................... 43 4.3.7.4 Relation Between ACMD6 and Lock/Unlock State ................................................................. 44 4.3.7.5 Commands Accepted for Locked Card ................................................................................... 44 4.3.7.6 Two Types of Lock/Unlock Card .............................................................................................. 45 4.3.8 Content Protection .............................................................................................................. 45 4.3.9 Application-Specific Commands ......................................................................................... 46 4.3.9.1 Application-Specific Command – APP_CMD (CMD55) .......................................................... 46 4.3.9.2 General Command - GEN_CMD (CMD56) ............................................................................. 46 4.3.10 Switch Function Command ............................................................................................... 47 4.3.10.1 General .................................................................................................................................. 47 4.3.10.2 Mode 0 Operation - Check Function ..................................................................................... 49 4.3.10.3 Mode 1 Operation - Set Function .......................................................................................... 49 4.3.10.4 Switch Function Status .......................................................................................................... 53 4.3.10.4.1 Busy Status Indication for Functions .............................................................................. 55 4.3.10.4.2 Data Structure Version ................................................................................................... 55 4.3.10.4.3 Function Table of Switch Command ............................................................................... 55 4.3.10.5 Relationship between CMD6 Data and Other Commands ................................................... 57 4.3.10.6 Switch Function Flow Example ............................................................................................. 57 4.3.10.7 Example of Checking ............................................................................................................ 57 4.3.10.8 Example of Switching ............................................................................................................ 57 4.3.11 High-Speed Mode (25 MB/sec interface speed) ................................................................ 58 4.3.12 Command System ............................................................................................................ 58 4.3.13 Send Interface Condition Command (CMD8) ................................................................... 59 4.3.14 Command Functional Difference in Card Capacity Types ................................................. 60 4.4 Clock Control ............................................................................................................................ 61 4.5 Cyclic Redundancy Code (CRC) ............................................................................................... 62 4.6 Error Conditions ........................................................................................................................ 64 4.6.1 CRC and Illegal Command ................................................................................................. 64 4.6.2 Read, Write and Erase Timeout Conditions ........................................................................ 64 4.6.2.1 Read ........................................................................................................................................ 64 4.6.2.2 Write ........................................................................................................................................ 64 4.6.2.3 Erase ....................................................................................................................................... 65 4.7 Commands ............................................................................................................................... 66 4.7.1 Command Types ................................................................................................................ 66 4.7.2 Command Format .............................................................................................................. 66 v
Physical Layer Simplified Specification Version 4.10 ©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association 4.7.3 Command Classes ............................................................................................................. 66 4.7.4 Detailed Command Description .......................................................................................... 69 4.7.5 Difference of SD Commands Definition in UHS-II ............................................................... 77 4.8 Card State Transition Table ....................................................................................................... 78 4.9 Responses ............................................................................................................................... 80 4.9.1 R1 (normal response command): ....................................................................................... 80 4.9.2 R1b .................................................................................................................................... 80 4.9.3 R2 (CID, CSD register) ....................................................................................................... 80 4.9.4 R3 (OCR register) .............................................................................................................. 81 4.9.5 R6 (Published RCA response) ............................................................................................ 81 4.9.6 R7 (Card interface condition) .............................................................................................. 82 4.10 Two Status Information of SD Memory Card ........................................................................... 83 4.10.1 Card Status ...................................................................................................................... 83 4.10.2 SD Status ......................................................................................................................... 87 4.11 Memory Array Partitioning ....................................................................................................... 91 4.12 Timings ................................................................................................................................... 92 4.13 Speed Class Specification ...................................................................................................... 93 4.13.1 Speed Class Specification for SDSC and SDHC .............................................................. 93 4.13.1.1 Allocation Unit (AU) ............................................................................................................... 93 4.13.1.2 Recording Unit (RU) .............................................................................................................. 94 4.13.1.3 Write Performance ................................................................................................................ 94 4.13.1.4 Read Performance ................................................................................................................ 95 4.13.1.5 Performance Curve Definition ............................................................................................... 95 4.13.1.6 Speed Class Definition .......................................................................................................... 96 4.13.1.7 Consideration for Inserting FAT Update during Recording ................................................... 97 4.13.1.7.1 Measurement Condition to determine Average TFw ....................................................... 98 4.13.1.7.2 Maximum FAT Write Time .............................................................................................. 98 4.13.1.8 Measurement Conditions and Requirements of the Speed Class ........................................ 98 4.13.1.8.1 Measurement Conditions................................................................................................ 98 4.13.1.8.2 Requirements of the Performance Parameters for Each Speed Class ......................... 98 4.13.1.8.3 Requirements of SD File System ................................................................................... 99 4.13.1.9 CMD20 Support ..................................................................................................................... 99 4.13.2 Speed Class Specification for SDXC .............................................................................. 100 4.13.2.1 Speed Class Parameters .................................................................................................... 100 4.13.2.1.1 AU ................................................................................................................................. 100 4.13.2.1.2 RU ................................................................................................................................. 100 4.13.2.2 Write Performance .............................................................................................................. 100 4.13.2.2.1 Measurement of Pw ...................................................................................................... 100 4.13.2.2.2 Performance Move ....................................................................................................... 101 4.13.2.3 Read Performance .............................................................................................................. 101 4.13.2.4 FAT Update .......................................................................................................................... 101 4.13.2.5 CI (Continuous Information) Update ................................................................................... 101 4.13.2.6 Distinction of Data Type ...................................................................................................... 102 4.13.2.7 Measurement Conditions and Requirements of the Speed Class for SDXC ..................... 102 4.13.2.7.1 Measurement Conditions.............................................................................................. 102 4.13.2.7.2 Requirements of the Performance Parameters for Each Speed Class ....................... 103 4.13.2.7.3 Requirements of SD File System ................................................................................. 103 4.13.2.8 Speed Class Control Command (CMD20) .......................................................................... 103 4.13.2.8.1 Definition of Each Function .......................................................................................... 104 4.13.2.8.2 Requirements for Speed Class Host ............................................................................ 104 4.13.2.9 Example of Speed Class Recording Sequence .................................................................. 104 4.13.3 Speed Grade Specification for UHS-I and UHS-II ........................................................... 106 vi
Physical Layer Simplified Specification Version 4.10 ©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association 4.13.3.1 Speed Grade Parameters ................................................................................................... 106 4.13.3.1.1 UHS Speed Grade ........................................................................................................ 106 4.13.3.1.2 AU (Allocation Unit) ...................................................................................................... 106 4.13.3.1.3 RU (Recording Unit) ..................................................................................................... 106 4.13.3.1.4 Pw (Write Performance) ............................................................................................... 106 4.13.3.1.5 Pm (Performance Move) .............................................................................................. 106 4.13.3.1.6 Pr and TFR(4KB) (Read Performance).......................................................................... 106 4.13.3.1.7 UHS-II Parameters ....................................................................................................... 106 4.13.3.2 Support of Speed Class Control Command (CMD20) ........................................................ 106 4.13.3.3 Speed Grade Measurement Conditions ............................................................................. 107 4.13.3.4 Notes for Preparation Time of UHS-I and UHS-II Card ...................................................... 107 4.13.3.5 Host Operating Frequency .................................................................................................. 107 4.14 Erase Timeout Calculation .................................................................................................... 108 4.14.1 Erase Unit ...................................................................................................................... 108 4.14.2 Case Analysis of Erase Time Characteristics .................................................................. 108 4.14.3 Method for Erase Large Areas ........................................................................................ 109 4.14.4 Calculation of Erase Timeout Value Using the Parameter Registers ............................... 109 4.15 Set Block Count Command .................................................................................................... 110 5. Card Registers ................................................................................................................ 111 5.1 OCR register............................................................................................................................ 111 5.2 CID register ............................................................................................................................. 113 5.3 CSD Register ........................................................................................................................... 114 5.3.1 CSD_STRUCTURE ........................................................................................................... 114 5.3.2 CSD Register (CSD Version 1.0) ....................................................................................... 115 5.3.3 CSD Register (CSD Version 2.0) ...................................................................................... 122 5.4 RCA register ........................................................................................................................... 125 5.5 DSR register (Optional) .......................................................................................................... 125 5.6 SCR register ........................................................................................................................... 125 5.7 Function Extension Specification ............................................................................................ 129 5.7.1 Extension Register Space ................................................................................................ 129 5.7.2 Extension Register Commands ........................................................................................ 130 5.7.2.1 Extension Register Read Command (Single Block) ............................................................. 130 5.7.2.2 Extension Register Write Command (Single Block) ............................................................. 132 5.7.2.3 Multiple Block Data Transfer ................................................................................................. 134 5.7.2.4 Extension Register Read Command (Multi-Block) ............................................................... 135 5.7.2.5 Extension Register Write Command (Multi-Block) ................................................................ 136 5.7.2.6 Error Status Indication ........................................................................................................... 137 5.7.3 General Information .......................................................................................................... 138 5.7.3.1 Common Header Fields ........................................................................................................ 139 5.7.3.1.1 Structure Revision (2-byte) ............................................................................................. 139 5.7.3.1.2 General Information Length (2-byte) .............................................................................. 139 5.7.3.1.3 Number of Extensions (1-byte) ....................................................................................... 139 5.7.3.2 Function Fields per Function ................................................................................................. 139 5.7.3.2.1 Standard Function Code (SFC 2-byte) ........................................................................... 139 5.7.3.2.2 Function Capability Code (FCC 2-byte) ......................................................................... 140 5.7.3.2.3 Function Manufacturer Code (FMC 2-byte) ................................................................... 140 5.7.3.2.4 Function Manufacturer Name (FMN 16-byte) ................................................................ 140 5.7.3.2.5 Particular Function Code (PFC 2-byte) .......................................................................... 140 5.7.3.2.6 Function Name (FN 16-byte) .......................................................................................... 140 5.7.3.2.7 Pointer to Next Extension (2-byte) ................................................................................. 140 5.7.3.2.8 Number of Register Sets (1-byte) ................................................................................... 140 vii
分享到:
收藏