JEDEC STANDARD
Embedded Multi-Media Card (e •MMC) •MMC) Electrical Standard (5.0)
JESD84-B50 (Revision of JESD84-B451, June 2012)
SEPTEMBER 2013
JEDEC SOLID STATE TECHNOLOGY ASSOCIATION
NOTICE JEDEC standards and publications contain material that has been prepared, reviewed, and approved through the JEDEC Board of Directors level and subsequently reviewed and approved by the JEDEC legal counsel. JEDEC standards and publications are designed to serve the public interest through eliminating misunderstandings between manufacturers and purchasers, facilitating interchangeability and improvement of products, and assisting the purchaser in selecting and obtaining with minimum delay the proper product product for use by those other other than JEDEC members, members, whether the the standard standard is to be used either either domestically or internationally. JEDEC standards and publications are adopted without regard to whether or not their adoption may involve patents or articles, materials, or processes. By such action JEDEC does not assume any liability to any patent owner, nor does it assume any obligation whatever to parties adopting the JEDEC standards or publications. publications. The information included in JEDEC standards and publications represents a sound approach to product specification and application, principally from the solid state device manufacturer viewpoint. Within the JEDEC organization there are procedures whereby a JEDEC standard or publication may be further processed and ultimately ultimately become become an ANSI standard. standard. No claims claims to be in conformance conformance with this standard standard may may be made made unless unless all requirements requirements stated in the standard are met. Inquiries, comments, comments, and suggestions suggestions relative to the content of this JEDEC standard or publication publication should be addressed addressed to JEDEC at the address address below, below, or refer refer to www.jedec.org under Standards and Documents for alternative contact information.
Published by ©JEDEC Solid State Technology Association 2013 3103 North 10th Street Suite 240 South Arlington, VA 22201-2107 This document may be downloaded free of charge; however JEDEC retains the copyright on this material. material. By downloading this file the individual individual agrees not to charge for or resell the resulting material.
PRICE: Contact JEDEC
Printed in the U.S.A. All rights reserved
NOTICE JEDEC standards and publications contain material that has been prepared, reviewed, and approved through the JEDEC Board of Directors level and subsequently reviewed and approved by the JEDEC legal counsel. JEDEC standards and publications are designed to serve the public interest through eliminating misunderstandings between manufacturers and purchasers, facilitating interchangeability and improvement of products, and assisting the purchaser in selecting and obtaining with minimum delay the proper product product for use by those other other than JEDEC members, members, whether the the standard standard is to be used either either domestically or internationally. JEDEC standards and publications are adopted without regard to whether or not their adoption may involve patents or articles, materials, or processes. By such action JEDEC does not assume any liability to any patent owner, nor does it assume any obligation whatever to parties adopting the JEDEC standards or publications. publications. The information included in JEDEC standards and publications represents a sound approach to product specification and application, principally from the solid state device manufacturer viewpoint. Within the JEDEC organization there are procedures whereby a JEDEC standard or publication may be further processed and ultimately ultimately become become an ANSI standard. standard. No claims claims to be in conformance conformance with this standard standard may may be made made unless unless all requirements requirements stated in the standard are met. Inquiries, comments, comments, and suggestions suggestions relative to the content of this JEDEC standard or publication publication should be addressed addressed to JEDEC at the address address below, below, or refer refer to www.jedec.org under Standards and Documents for alternative contact information.
Published by ©JEDEC Solid State Technology Association 2013 3103 North 10th Street Suite 240 South Arlington, VA 22201-2107 This document may be downloaded free of charge; however JEDEC retains the copyright on this material. material. By downloading this file the individual individual agrees not to charge for or resell the resulting material.
PRICE: Contact JEDEC
Printed in the U.S.A. All rights reserved
PLEASE! DON’T VIOLATE THE LAW! This document is copyrighted by JEDEC and may not be reproduced without permission. For information, contact: JEDEC Solid State Technology Association 3103 North 10th Street Suite 240 South Arlington, VA 22201-2107 or refer to www.jedec.org under Standards-Documen Standards-Documents/Copyright ts/Copyright Information.
JEDEC Standard No. 84-B50
EMBEDDED MULTI-MEDIA CARD (e •MMC) •MMC) 5.0 DEVICE Contents Page 1
Scope ............................ .......................................... ............................ ............................ ............................ ............................ ............................ ............................ ............................ ............................ ................ 1
2
Normative reference .................................................................................................................................. 1
3
Terms and definitions ................................................................................................................................ 1
4
System System Features Features ............................ ........................................... ............................. ............................ ............................ ............................ ............................ ............................ ........................ ..........4
5
•MMC •MMC e
5.1
e•MMC System Overview .......................... ........................................ ............................ ............................. ............................. ............................ ............................ .......................... ............6
5.2
Memory Addressing Addressing ............................ .......................................... ............................ ............................. ............................. ............................ ............................ ............................ ................... .....6
5.3
e•MMC Device Overview .......................... ........................................ ............................ ............................. ............................. ............................ ............................ .......................... ............7
5.3.1
Bus Protocol ............................ ........................................... ............................. ............................ ............................ ............................ ............................ ............................ ............................ ................. ... 8
5.3.2
Bus Speed Modes ........................... .......................................... ............................. ............................ ............................ ............................ ............................ ............................ ...................... ........15
5.3.3
HS200 Bus Speed Mode ............................................................................................................................ 15
5.3.4
HS200 System Block Diagram .................................................................................................................. 16
5.3.5
HS200 Adjustable Sampling Host ............................................................................................................. 16
5.3.6
HS400 Bus Speed Mode ............................................................................................................................ 16
5.3.7
HS400 System Block Diagram .................................................................................................................. 17
6
•MMC •MMC e
6.1
e•MMC Overview ........................... .......................................... ............................. ............................ ............................ ............................ ............................ ............................ ...................... ........18
6.2
Partition Partition Management Management............................ ........................................... ............................. ............................ ............................ ............................ ............................ ............................ ................ 19
6.2.1
General............ General.......................... ............................ ............................ ............................ ............................ ............................ ............................ ............................ ............................ ........................... .............19
6.2.2
Command Command restrictions restrictions ............................ ........................................... ............................. ............................ ............................ ............................ ............................ ............................ ................ 21
6.2.3
Extended Partitions Attribute ..................................................................................................................... 21
6.2.4
Configure Configure partitions partitions ........................... ......................................... ............................ ............................ ............................ ............................ ............................ ............................ .................... ...... 22
6.2.5
Access Access partitions partitions ........................... ......................................... ............................ ............................. ............................. ............................ ............................ ............................ ........................ ..........25
6.3
Boot operation operation mode.......................... ........................................ ............................ ............................ ............................ ............................ ............................ ............................ .................... ...... 25
6.3.1
Device reset to Pre-idle state .......... ........... .......... ........... .......... ........... .......... ........... .......... ........... .......... .. 25
6.3.2
Boot partition partition ........................... .......................................... ............................. ............................ ............................ ............................ ............................ ............................ ............................ ................ 27
6.3.3
Boot operation operation ............................ .......................................... ............................ ............................ ............................ ............................ ............................ ............................ ........................... .............28
6.3.4
Alternative boot operation ......................................................................................................................... 29
6.3.5
Access Access to boot partition partition ............................ .......................................... ............................ ............................ ............................ ............................ ............................ ........................... .............32
6.3.6
Boot bus width and data access configuration ........................................................................................... 33
6.3.7
Boot Partition Write Protection Protection ............................ .......................................... ............................ ............................ ............................ ............................. ............................ ...............33
6.4
Device identification mode ........................................................................................................................ 35
6.4.1
Device Device reset ........................... ......................................... ............................ ............................ ............................ ............................. ............................. ............................ ............................ ................. ... 35
6.4.2
Access mode validation (higher than 2GB of densities) ............................................................................ 36
6.4.3
From busy to ready ............................ .......................................... ............................ ............................ ............................ ............................ ............................ ............................ .................... ......36
6.4.4
Device identification process ..................................................................................................................... 37
6.5
Interrupt Interrupt mode ............................ .......................................... ............................ ............................ ............................ ............................ ............................ ............................ ........................... .............37
6.6
Data transfer transfer mode.......................... ......................................... ............................. ............................ ............................ ............................ ............................ ............................ ...................... ........39
6.6.1
Command sets and extended settings ........................................................................................................ 41
6.6.2
High-speed modes selection ...................................................................................................................... 42
6.6.3
“High“High-speed” mode selection .......................... ........................................ ............................ ............................ ............................ ............................ ............................ .................... ...... 42
Device and System ........................... ......................................... ............................ ............................ ............................ ............................ ............................ ...................... ........6
functional description ............................ .......................................... ............................ ............................ ............................ ............................. ........................... ............18
-i-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
6.6.4
“HS200” timing mode selection ................................................................................................................ 42
6.6.5
“HS400” timing mode selection ................................................................................................................ 44
6.6.6
Power class selection ................................................................................................................................. 44
6.6.7
Bus testing procedure ................................................................................................................................ 45
6.6.8
Bus Sampling Tuning Concept .................................................................................................................. 46
6.6.9
Bus width selection .................................................................................................................................... 49
6.6.10
Data read ....................................................................................................................................................49
6.6.11
Data write .................................................................................................................................................. 51
6.6.12
Erase .......................................................................................................................................................... 54
6.6.13
TRIM .........................................................................................................................................................56
6.6.14
Sanitize ......................................................................................................................................................57
6.6.15
Discard .......................................................................................................................................................57
6.6.16
Secure Erase .............................................................................................................................................. 59
6.6.17
Secure Trim ............................................................................................................................................... 60
6.6.18
Write protect management ......................................................................................................................... 61
6.6.19
Extended Security Protocols Pass Through Commands ............................................................................ 63
6.6.20
Production State Awareness ...................................................................................................................... 64
6.6.21
Field Firmware Update .............................................................................................................................. 67
6.6.22
Device lock/unlock operation .................................................................................................................... 68
6.6.23
Application-specific commands................................................................................................................. 71
6.6.24
Sleep (CMD5)............................................................................................................................................ 72
6.6.25
Replay Protected Memory Block ............................................................................................................... 73
6.6.26
Dual Data Rate mode selection .................................................................................................................. 84
6.6.27
Dual Data Rate mode operation ................................................................................................................. 84
6.6.28
Background Operations ............................................................................................................................. 85
6.6.29
High Priority Interrupt (HPI) .....................................................................................................................86
6.6.30
Context Management ................................................................................................................................. 87
6.6.31
Data Tag Mechanism ................................................................................................................................. 91
6.6.32
Packed Commands.....................................................................................................................................92
6.6.33
Exception Events .......................................................................................................................................94
6.6.34
Cache .........................................................................................................................................................95
6.6.35
Features cross matrix ................................................................................................................................. 97
6.6.36
Dynamic Capacity Management ................................................................................................................ 98
6.6.37
Large sector size ........................................................................................................................................99
6.6.38
Real Time Clock Information .................................................................................................................. 103
6.6.39
Power Off Notification ............................................................................................................................105
6.7
Clock control ...........................................................................................................................................106
6.8
Error conditions .......................................................................................................................................106
6.8.1
CRC and illegal command ....................................................................................................................... 106
6.8.2
Time-out conditions ................................................................................................................................. 107
6.8.3
Read ahead in multiple block read operation ........................................................................................... 108
6.9
Minimum performance ............................................................................................................................108
6.9.1
Speed class definition .............................................................................................................................. 108
-ii-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
6.9.2
Measurement of the performance ............................................................................................................ 109
6.10
Commands ............................................................................................................................................... 109
6.10.1
Command types .......................................................................................................................................109
6.10.2
Command format ..................................................................................................................................... 109
6.10.3
Command classes..................................................................................................................................... 110
6.10.4
Detailed command description ................................................................................................................ 111
6.11
Device state transition table ..................................................................................................................... 118
6.12
Responses ................................................................................................................................................ 120
6.13
Device status............................................................................................................................................122
6.14
Memory array partitioning ....................................................................................................................... 126
6.15
Timings ....................................................................................................................................................128
6.15.1
Command and response ........................................................................................................................... 128
6.15.2
Data read .................................................................................................................................................. 130
6.15.3
Data write ................................................................................................................................................ 131
6.15.4
Bus test procedure timing ........................................................................................................................ 135
6.15.5
Boot operation .........................................................................................................................................136
6.15.6
Alternative boot operation ....................................................................................................................... 137
6.15.7
Timing Values .........................................................................................................................................138
6.15.8
Timing changes in HS200 & HS400 mode.............................................................................................. 139
6.15.9
H/W Reset Operation ............................................................................................................................... 142
6.15.10
Noise filtering timing for H/ W Reset ....................................................................................................... 142
6.15.11
Additional Timing changes in HS400 mode ............................................................................................ 143
7
Device Registers ......................................................................................................................................144
7.1
OCR register ............................................................................................................................................144
7.2
CID register ............................................................................................................................................. 145
7.2.1
MID [127:120] .........................................................................................................................................145
7.2.2
CBX [113:112] ........................................................................................................................................145
7.2.3
OID [111:104] .........................................................................................................................................145
7.2.4
PNM [103:56] ..........................................................................................................................................145
7.2.5
PRV [55:48] ............................................................................................................................................. 146
7.2.6
PSN [47:16] ............................................................................................................................................. 146
7.2.7
MDT [15:8].............................................................................................................................................. 146
7.2.8
CRC [7:1] ................................................................................................................................................ 146
7.3
CSD register ............................................................................................................................................147
7.3.1
CSD_STRUCTURE [127:126] ................................................................................................................ 149
7.3.2
SPEC_VERS [125:122] ........................................................................................................................... 149
7.3.3
TAAC [119:112] ......................................................................................................................................149
7.3.4
NSAC [111:104] ...................................................................................................................................... 149
7.3.5
TRAN_SPEED [103:96]..........................................................................................................................150
7.3.6
CCC [95:84] ............................................................................................................................................150
7.3.7
READ_BL_LEN [83:80] .........................................................................................................................150
7.3.8
READ_BL_PARTIAL [79] ..................................................................................................................... 151
7.3.9
DSR_IMP [76] .........................................................................................................................................151
-iii-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
7.3.10
C_SIZE [73:62] .......................................................................................................................................152
7.3.11
VDD_R_CURR_MIN [61:59] and VDD_W_CURR_MIN [55:53] ...................................................... 152
7.3.12
VDD_R_CURR_MAX [58:56] and VDD_W_CURR_MAX [52:50] ............... ..................................... 152
7.3.13
C_SIZE_MULT [49:47] ..........................................................................................................................153
7.3.14
ERASE_GRP_SIZE [46:42] .................................................................................................................... 153
7.3.15
ERASE_GRP_MULT [41:37] ................................................................................................................. 153
7.3.16
WP_GRP_SIZE [36:32] ..........................................................................................................................153
7.3.17
WP_GRP_ENABLE [31] ........................................................................................................................153
7.3.18
DEFAULT_ECC [30:29].........................................................................................................................153
7.3.19
R2W_FACTOR [28:26] ..........................................................................................................................154
7.3.20
WRITE_BL_LEN [25:22] .......................................................................................................................154
7.3.21
WRITE_BL_PARTIAL[21] .................................................................................................................... 154
7.3.22
CONTENT_PROT_APP [16] .................................................................................................................. 154
7.3.23
FILE_FORMAT_GRP [15] ..................................................................................................................... 154
7.3.24
COPY [14] ............................................................................................................................................... 154
7.3.25
PERM_WRITE_PROTECT [13]............................................................................................................. 155
7.3.26
TMP_WRITE_PROTECT [12] ...............................................................................................................155
7.3.27
FILE_FORMAT [11:10]..........................................................................................................................155
7.3.28
ECC [9:8]................................................................................................................................................. 155
7.3.29
CRC [7:1] ................................................................................................................................................ 156
7.4
Extended CSD register............................................................................................................................. 157
7.4.1
EXT_SECURITY_ERR [505] ................................................................................................................. 162
7.4.2
S_CMD_SET [504] ................................................................................................................................. 162
7.4.3
HPI_FEATURES [503] ...........................................................................................................................163
7.4.4
BKOPS_SUPPORT [502] .......................................................................................................................163
7.4.5
MAX_PACKED_READS [501] ............................................................................................................. 163
7.4.6
MAX_PACKED_WRITES [500]............................................................................................................163
7.4.7
DATA_TAG_SUPPORT [499] ............................................................................................................... 163
7.4.8
TAG_UNIT_SIZE [498].......................................................................................................................... 164
7.4.9
TAG_RES_SIZE [497] ............................................................................................................................164
7.4.10
CONTEXT_CAPABILITIES [496] ........................................................................................................ 164
7.4.11
LARGE_UNIT_SIZE_M1 [495] ............................................................................................................. 164
7.4.12
EXT_SUPPORT [494] ............................................................................................................................164
7.4.13
SUPPORTED_MODES [493] ................................................................................................................. 165
7.4.14
FFU_FEATURES [492] ..........................................................................................................................165
7.4.15
OPERATION_CODES_TIMEOUT [491] .............................................................................................. 165
7.4.16
FFU_ARG [490-487]............................................................................................................................... 165
7.4.17
NUMBER_OF_FW_SECTORS_CORRECTLY_PROGRAMMED [305 -302] ..................................... 165
7.4.18
VENDOR_PROPRIETARY_HEALTH_REPORT [301-270]................................................................ 166
7.4.19
DEVICE_LIFE_TIME_EST_TYP_B [269] ............................................................................................ 166
7.4.20
DEVICE_LIFE_TIME_EST_TYP_A [268]............................................................................................ 167
7.4.21
PRE_EOL_INFO [267] ...........................................................................................................................167
7.4.22
OPTIMAL_READ_SIZE [266] ............................................................................................................... 168
-iv-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
7.4.23
OPTIMAL_WRITE_SIZE [265] .............................................................................................................168
7.4.24
OPTIMAL_TRIM_UNIT_SIZE [264] .................................................................................................... 168
7.4.25
DEVICE_VERSION [263-262]............................................................................................................... 168
7.4.26
FIRMWARE_VERSION [261-254] ........................................................................................................ 169
7.4.27
CACHE_SIZE [252:249] .........................................................................................................................169
7.4.28
GENERIC_CMD6_TIME [248]..............................................................................................................169
7.4.29
POWER_OFF_LONG_TIME [247] ........................................................................................................ 169
7.4.30
BKOPS_STATUS [246]..........................................................................................................................170
7.4.31
CORRECTLY_PRG_SECTORS_NUM [245:242] ................................................................................ 170
7.4.32
INI_TIMEOUT_AP [241] .......................................................................................................................170
7.4.33
TRIM_MULT [232] ................................................................................................................................ 171
7.4.34
SEC_FEATURE_SUPPORT [231] ......................................................................................................... 171
7.4.35
SEC_ERASE_MULT [230] .................................................................................................................... 172
7.4.36
SEC_TRIM_MULT [229] .......................................................................................................................172
7.4.37
BOOT_INFO [228] ................................................................................................................................. 172
7.4.38
BOOT_SIZE_MULT [226] ..................................................................................................................... 173
7.4.39
ACC_SIZE [225] ..................................................................................................................................... 173
7.4.40
HC_ERASE_GRP_SIZE [224] ............................................................................................................... 173
7.4.41
ERASE_TIMEOUT_MULT [223] .......................................................................................................... 174
7.4.42
REL_WR_SEC_C [222] ..........................................................................................................................174
7.4.43
HC_WP_GRP_SIZE [221] ...................................................................................................................... 174
7.4.44
S_C_VCC[220] and S_C_VCCQ[219] ................................................................................................... 175
7.4.45
PRODUCTION_STATE_AWARENESS_TIMEOUT [218].................................................................. 175
7.4.46
S_A_TIMEOUT [217].............................................................................................................................175
7.4.47
SLEEP_NOTIFICATION_TIME [216] .................................................................................................. 176
7.4.48
SEC_COUNT [215:212]..........................................................................................................................176
7.4.49
MIN_PERF_a_b_ff [210/:205] and MIN_PERF_DDR_a_b_ff [235:234].............................................. 177
7.4.50 PWR_CL_ff_vvv [203:200] , PWR_CL_ff_vvv[237:236] , PWR_CL_DDR_ff_vvv [239:238] and PWR_CL_DDR_ff_vvv[253] .................................................................................................................................... 177 7.4.51
PARTITION_SWITCH_TIME [199] ...................................................................................................... 179
7.4.52
OUT_OF_INTERRUPT_TIME [198] ..................................................................................................... 179
7.4.53
DRIVER_STRENGTH [197] .................................................................................................................. 179
7.4.54
DEVICE_TYPE [196] .............................................................................................................................180
7.4.55
CSD_STRUCTURE [194].......................................................................................................................180
7.4.56
EXT_CSD_REV [192] ............................................................................................................................181
7.4.57
CMD_SET [191] ..................................................................................................................................... 181
7.4.58
CMD_SET_REV [189]............................................................................................................................181
7.4.59
POWER_CLASS [187] ...........................................................................................................................181
7.4.60
HS_TIMING [185] .................................................................................................................................. 182
7.4.61
BUS_WIDTH [183]................................................................................................................................. 182
7.4.62
ERASED_MEM_CONT [181] ................................................................................................................ 183
7.4.63
PARTITION_CONFIG (before BOOT_CONFIG) [179] ....................................................................... 183
7.4.64
BOOT_CONFIG_PROT[178] ................................................................................................................. 184
-v-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
7.4.65
BOOT_BUS_CONDITIONS [177] ......................................................................................................... 184
7.4.66
ERASE_GROUP_DEF [175] .................................................................................................................. 186
7.4.67
BOOT_WP_STATUS [174] .................................................................................................................... 186
7.4.68
BOOT_WP [173]..................................................................................................................................... 187
7.4.69
USER_WP [171] ..................................................................................................................................... 189
7.4.70
FW_CONFIG [169] ................................................................................................................................. 190
7.4.71
RPMB_SIZE_MULT [168] ..................................................................................................................... 190
7.4.72
WR_REL_SET [167]............................................................................................................................... 191
7.4.73
WR_REL_PARAM [166]........................................................................................................................192
7.4.74
SANITIZE_START[165] ........................................................................................................................192
7.4.75
BKOPS_START [164] ............................................................................................................................192
7.4.76
BKOPS_EN [163] ................................................................................................................................... 192
7.4.77
RST_n_FUNCTION [162] ...................................................................................................................... 193
7.4.78
HPI_MGMT [161]................................................................................................................................... 193
7.4.79
PARTITIONING_SUPPORT [160] ........................................................................................................ 194
7.4.80
MAX_ENH_SIZE_MULT [159:157] ..................................................................................................... 194
7.4.81
PARTITIONS_ATTRIBUTE [156] ........................................................................................................ 195
7.4.82
PARTITION_SETTING_COMPLETED [155] ...................................................................................... 195
7.4.83
GP_SIZE_MULT_GP0 - GP_SIZE_MULT_GP3 [154:143] .................................................................. 196
7.4.84
ENH_SIZE_MULT [142:140] ................................................................................................................. 197
7.4.85
ENH_START_ADDR [139:136]............................................................................................................. 197
7.4.86
SEC_BAD_BLK_MGMNT [134] ........................................................................................................... 197
7.4.87
PRODUCTION_STATE_AWARENESS [133] ..................................................................................... 198
7.4.88
TCASE_SUPPORT [132]........................................................................................................................ 198
7.4.89
PERIODIC_WAKEUP [131] .................................................................................................................. 199
7.4.90
PROGRAM_CID_CSD_DDR_SUPPORT [130].................................................................................... 199
7.4.91
NATIVE_SECTOR_SIZE [63] ............... ................................................................................................ 199
7.4.92
USE_NATIVE_SECTOR [62] ................................................................................................................ 199
7.4.93
DATA_SECTOR_SIZE [61] ................................................................................................................... 200
7.4.94
INI_TIMEOUT_EMU [60] ..................................................................................................................... 200
7.4.95
CLASS_6_CTRL[59] ..............................................................................................................................200
7.4.96
DYNCAP_NEEDED [58] .......................................................................................................................200
7.4.97
EXCEPTION_EVENTS_CTRL [57:56] ................................................................................................. 200
7.4.98
EXCEPTION_EVENTS_STATUS [55:54] ............................................................................................ 201
7.4.99
EXT_PARTITIONS_ATTRIBUTE [53:52]............................................................................................ 201
7.4.100
CONTEXT_CONF [51:37] ..................................................................................................................... 202
7.4.101
PACKED_COMMAND_STATUS [36] ................................................................................................. 202
7.4.102
PACKED_FAILURE_INDEX [35]......................................................................................................... 203
7.4.103
POWER_OFF_NOTIFICATION [34] .................................................................................................... 203
7.4.104
CACHE_CTRL [33] ................................................................................................................................ 203
7.4.105
FLUSH_CACHE [32] .............................................................................................................................204
7.4.106
MODE_CONFIG [30] .............................................................................................................................204
7.4.107
MODE_OPERATION_CODES [29] ...................................................................................................... 204
-vi-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
7.4.108
FFU_STATUS [26] ................................................................................................................................. 205
7.4.109
PRE_LOADING_DATA_SIZE [25-22] ................................................................................................. 205
7.4.110
MAX_PRE_LOADING_DATA_SIZE [21-18] ...................................................................................... 205
7.4.111
PRODUCT_STATE_AWARENESS_ENABLEMENT [17].................................................................. 206
7.4.112
SECURE_REMOVAL_TYPE [16] ......................................................................................................... 207
7.4.113
VENDOR_SPECIFIC_FIELD [127:64] .................................................................................................. 207
7.5
RCA register ............................................................................................................................................207
7.6
DSR register ............................................................................................................................................207
8
Error protection ........................................................................................................................................208
8.1
Error correction codes (ECC) .................................................................................................................. 208
8.2
Cyclic redundancy codes (CRC) .............................................................................................................. 208
8.2.1
CRC7 .......................................................................................................................................................209
8.2.2
CRC16 .....................................................................................................................................................210
9
e•MMC mechanical standard ................................................................................................................... 211
10
The e•MMC bus .......................................................................................................................................212
10.1
Power-up .................................................................................................................................................. 213
10.1.1
e•MMC power -up .................................................................................................................................... 215
10.1.2
e•MMC power -up guidelines ................................................................................................................... 216
10.1.3
e•MMC power cycling .............................................................................................................................217
10.2
Programmable Device output driver ........................................................................................................ 218
10.3
Bus operating conditions ......................................................................................................................... 220
10.3.1
Power supply: e•MMC ............................................................................................................................220
10.3.2
Power supply: e •MMC ...........................................................................................................................221
10.3.3
Power supply Voltages ............................................................................................................................ 222
10.3.4
Bus signal line load..................................................................................................................................223
10.3.5
HS 400 reference load.............................................................................................................................. 224
10.4
Overshoot/Undershoot Specification ....................................................................................................... 225
10.5
Bus signal levels ......................................................................................................................................225
10.5.1
Open-drain mode bus signal level............................................................................................................ 226
10.5.2
Push-pull mode bus signal level — e•MMC.............................................................................................226
10.5.3
Bus Operating Conditions for HS200 & HS400 ...................................................................................... 226
10.5.4
Device Output Driver Requirements for HS200 & HS400 ...................................................................... 227
10.6
Bus timing................................................................................................................................................ 229
10.6.1
Device interface timings .......................................................................................................................... 229
10.7
Bus timing for DAT signals during 2x data rate operation ...................................................................... 231
10.7.1
Dual data rate interface timings ............................................................................................................... 232
10.8
Bus Timing Specification in HS200 mode .............................................................................................. 233
10.8.1
HS200 Clock Timing ............................................................................................................................... 233
10.8.2
HS200 Device Input Timing .................................................................................................................... 234
10.8.3
HS200 Device Output Timing ................................................................................................................. 235
10.9
Temperature Conditions .......................................................................................................................... 236
10.10
Bus Timing Specification in HS400 mode .............................................................................................. 237
10.10.1
HS400 Device Input Timing .................................................................................................................... 237
2
-vii-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
10.10.2
HS400 Device Output Timing ................................................................................................................. 238
11
•MMC e
standard compliance ...............................................................................................................240
Annex A Application Notes ..................................................................................................................................... 243
A.1
Device Payload block length and ECC types handling ............................................................................ 243
A.2
Description of method for storing passwords on the Device ................................................................... 244
A.3
e•MMC macro commands .......................................................................................................................245
A.4
Host interface timing ............................................................................................................................... 255
A.5
Handling of passwords............................................................................................................................. 255
A.5.1
Changing the password ............................................................................................................................ 255
A.5.2
Removal of the password ......................................................................................................................... 255
A.6
High-speed e•MMC bus functions ...........................................................................................................256
A.6.1
Bus initialization ......................................................................................................................................256
A.6.2
Switching to high-speed mode ................................................................................................................. 257
A.6.3
Changing the data bus width .................................................................................................................... 257
A.7
Erase-unit size selection flow .................................................................................................................. 260
A.8
HPI background and one of possible solutions ........................................................................................ 261
11.1.1
Background - issues with HPI ................................................................................................................. 261
11.1.2
One of possible solutions ......................................................................................................................... 261
A.9
Stop transmission timing ......................................................................................................................... 262
A.10
Temperature Conditions per Power Classes (Tcase controlled) ........... ................................................... 264
A.11
Handling write protection for each boot area individually ............ .......................................................... 266
A.12
Field Firmware Update ............................................................................................................................267
Annex B Changes between system specification versions .................................................................................... 268
B.1
Version 4.1, the first version of this standard .......................................................................................... 268
B.2
Changes from version 4.1 to 4.2 .............................................................................................................. 268
B.3
Changes from version 4.2 to 4.3 .............................................................................................................. 268
B.4
Changes from version 4.3 to 4.4 .............................................................................................................. 269
B.5
Changes from version 4.4 to 4.41 ............................................................................................................ 269
B.6
Changes from version 4.41 to 4.5 ............................................................................................................ 270
B.7
Changes from version 4.5 to 4.51 ............................................................................................................ 270
B.8
Changes from version 4.51 to 5.0 ............................................................................................................ 271
-viii-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
FIGURES Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 Figure 43
e•MMC System Overview .......................................................................................................................6 Multiple-block read operation.................................................................................................................. 9 (Multiple) Block write operation ............................................................................................................. 9 No response” and “no data” operations ...................................................................................................9 Command token format .........................................................................................................................10 Response token format ........................................................................................................................... 10 Data packet format for SDR .................................................................................................................. 11 Data packet format for DDR .................................................................................................................. 12 Data packet format for DDR Read in HS400 mode ............................................................................... 13 DDR52 CRC token ................................................................................................................................ 14 HS400 CRC token ................................................................................................................................. 14 Host and Device block diagram ............................................................................................................. 16 HS400 Host and Device block diagram ................................................................................................. 17 e•MMC memory organization at time zero............................................................................................19 Example of partitions and user data area configuration ......................................................................... 20 Flow Chart for General Purpose Partitions & Enhanced User Data Area parameter setting ........... ...... 23 WP condition transition due to H/W reset assertion .............................................................................. 25 RST_n signal at the power up period ..................................................................................................... 26 Memory partition ................................................................................................................................... 27 e•MMC state diagram (boot mode)........................................................................................................ 29 e•MMC state diagram (alternative boot mode) ...................................................................................... 30 e•MMC state diagram (boot mode)........................................................................................................ 31 Clarification of RESET_BOOT_BUS_CONDITIONS behavior when CMD0 is issued in IDLE ........ 32 Setting Ext CSD BOOT_WP[173] ........................................................................................................ 34 e•MMC state diagram (Device identification mode) .............................................................................35 e•MMC state transition diagram, interrupt mode ...................................................................................38 e•MMC state diagram (data tr ansfer mode) ...........................................................................................39 HS200 Selection flow diagram .............................................................................................................. 43 Send Tuning Command ......................................................................................................................... 47 Tuning block pattern for 8 bit mode ...................................................................................................... 48 Tuning block on DAT[7:0]/DAT[3:0] in 8bit/4bit bus width ................................................................ 48 Recommended Soldering procedure ...................................................................................................... 66 Memory array partitioning ................................................................................................................... 127 Identification timing (Device identification mode) .............................................................................. 128 SET_RCA timing (Device identification mode) .................................................................................. 128 Command response timing (data transfer mode) ................................................................................. 129 R1b response timing ............................................................................................................................129 Timing response end to next command start (data transfer mode) ............ .......................................... 129 Timing of command sequences (all modes)......................................................................................... 129 Single-block read timing...................................................................................................................... 130 Multiple-block read timing .................................................................................................................. 131 Stop command timing (CMD12, data transfer mode) .......................................................................... 131 Block write command timing............................................................................................................... 132
-ix-
JEDEC Standard No. 84-B50
Contents (cont'd) Page
Figure 44 Figure 45 Figure 46 Figure 47 Figure 48 Figure 49 Figure 50 Figure 51 Figure 52 Figure 53 Figure 54 Figure 55 Figure 56 Figure 57 Figure 58 Figure 59 Figure 60 Figure 61 Figure 62 Figure 63 Figure 64 Figure 65 Figure 66 Figure 67 Figure 68 Figure 69 Figure 70 Figure 71 Figure 72 Figure 73 Figure 74 Figure 75 Figure 76 Figure 77 Figure 78 Figure 79 Figure 80 Figure 81 Figure 82 Figure 83 Figure 84 Figure 85 Figure 86 Figure 87
Ncrc timing .................... ...................................................................................................................... 132 BUSY Signal after CRC Status Response ........................................................................................... 132 Multiple-block write timing ................................................................................................................. 133 Stop transmission during data transfer from the host........................................................................... 133 Stop transmission during CRC status transfer from the Device ........................................................... 134 Stop transmission after last data block; Device is busy programming ................................................. 134 Stop transmission after last data block; Device becomes busy ............................................................ 134 Bus test procedure timing .................................................................................................................... 135 Boot operation, termination between consecutive data blocks ............................................................ 136 Boot operation, termination during transfer ......................................................................................... 136 Bus mode change timing (push-pull to open-drain) ............................................................................. 136 Alternative boot operation, termination between consecutive data blocks .............. ............................ 137 Alternative boot operation, termination during transfer............ ........................................................... 137 Clock Stop Timing at Block Gap in Read Operation ........................................................................... 140 Border Timing of CMD12 in Write Operation .................................................................................... 140 Border Timing of CMD12 in Read Operation ..................................................................................... 141 H/W reset waveform ............................................................................................................................142 Noise filtering timing for H/W reset .................................................................................................... 142 HS400 Write Timing ...........................................................................................................................143 HS400 Read Timing ............................................................................................................................143 CRC7 generator/checker ...................................................................................................................... 209 CRC16 generator/checker .................................................................................................................... 210 Bus circuitry diagram...........................................................................................................................212 Power-up diagram................................................................................................................................ 213 e•MMC power -up diagram .................................................................................................................. 215 e•MMC power cycle ............................................................................................................................217 e•MMC bus driver ............................................................................................................................... 219 e•MMC internal power diagram (as an example) ................................................................................220 2 e •MMC internal power diagram (as an example) ...............................................................................221 HS400 reference load........................................................................................................................... 224 Overshoot/Undershoot definition ......................................................................................................... 225 Bus signal levels .................................................................................................................................. 225 Outputs test circuit for rise/fall time measurement .............................................................................. 228 Timing diagram: data input/output ...................................................................................................... 229 Timing diagram: data input/output in dual data rate mode .................................................................. 231 HS200 Clock signal timing .................................................................................................................. 233 HS200 Device input timing ................................................................................................................. 234 HS200 Device output timing ............................................................................................................... 235 ∆TPH consideration ............................................................................................................................... 236 HS400 Device Data input timing ......................................................................................................... 237 HS400 Device output timing ............................................................................................................... 238 Legend for command-sequence flow charts ........................................................................................ 245 SEND_OP_COND command flow chart ............................................................................................. 246 CIM_SINGLE_DEVICE_ACQ...........................................................................................................247
-x-