Samsung(三星)-KLM8G1GEAC-B001.pdf - 第10页

- 9 - IF THERE IS ANY OTHER OPERATION TO IMPLEMENT IN ADDITION TO SPECIFICATION IN THE DATASHEET OR JEDEC STANDARD, PLEASE CONTACT EACH BRANCH OFFICE OR HEADQUARTERS OF SAMSUNG ELECTRONICS. datasheet e·MMC Rev. 1.0 KLMxG…

100%1 / 32
- 8 -
IF THERE IS ANY OTHER OPERATION TO IMPLEMENT IN ADDITION TO SPECIFICATION
IN THE DATASHEET OR JEDEC STANDARD, PLEASE CONTACT EACH BRANCH OFFICE OR
HEADQUARTERS OF SAMSUNG ELECTRONICS.
datasheet
e·MMC
Rev. 1.0
KLMxGxGEAC-B001
SAMSUNG CONFIDENTIAL
3.2 Product Architecture
Control Signal
Data Bus
MMC Controller
V
DDF
Core Regulator
Core
Memory
NAND I/O Block
MMC I/O Block
Logic
Block
(Required for 3.3V VDD)
V
DD
RESET
VDDi
CLK
CMD
DAT[7:0]
C
Reg
- e·MMC consists of NAND Flash and Controller. VDD is for Controller power and VDDF is for flash power
Figure 4. e·MMC Block Diagram
- 9 -
IF THERE IS ANY OTHER OPERATION TO IMPLEMENT IN ADDITION TO SPECIFICATION
IN THE DATASHEET OR JEDEC STANDARD, PLEASE CONTACT EACH BRANCH OFFICE OR
HEADQUARTERS OF SAMSUNG ELECTRONICS.
datasheet
e·MMC
Rev. 1.0
KLMxGxGEAC-B001
SAMSUNG CONFIDENTIAL
4.0 e.MMC 4.5 features
4.1 Packed Command
Packed command is a host and device communication technique to improve performance of eMMC. In order to reduce command overhead, read and
write commands can be packed in groups of commands (either all read or all write) that transfer data for all commands in the group on the bus in one
transfer. Packed Write operation should be transacted in order.
[Packed Write and Read Sequence]
Packed Write : Packed Write Command can group several write multiple block commands by using SET_BLOCK_COUNT (CMD23) with the Packed
flag set WRITE_MULTIPLE_BLOCK (CMD25) with 1st block containing the packed command header Write the data in order of appearance in the
header
Packed Read : Packed Read Command can group several read multiple block commands by using SET_BLOCK_COUNT (CMD23) with the Packed
flag set and block count of one WRITE_MULTIPLE_BLOCK (CMD25) with the header CMD23 with the Packed flag set and total block count which
is sum of all block count of all data reads (This CMD23 is optional, Open-ended read is also available) READ_MULTIPLE_BLOCK (CMD18) Read
the data
[Table 3] Command description related to Packed Read and Write
[Table 4] EXT_CSD value for Packed Command
CMD INDEX Type Argument Resp Abbreviation Command Description
CMD18 adtc [31:0] data address R1 READ_MULTIPLE_BLOCK
Continuously transfers data blocks from Device to host until
interrupted by a stop command, or the requested number of
data blocks is transmitted. If sent as part of a packed read com-
mand, the argument shall contain the 1st read data address in
the pack (address of 1st individual read command inside the
pack.
CMD23
(packed)
Ac
[31] set to 0
[30] ‘1’ packed
[29:16] set to 0
[15:0] number of blocks
R1 SET_BLOCK_COUNT
Packed command version
Defines the number of blocks (read/write) for the following
packed write command or for the header of the following packed
read command.
For packed write commands, the number of blocks should
include the total number of blocks all packed commands plus
one for the header block.
For packed read commands,
the number of blocks should equal one as only header is sent
inside the following CMD25. After that, a separate normal read
command is sent to get the packed data.
CMD25 adtc [31:0] data address1 R1 WRITE_MULTIPLE_BLOCK
Continuously writes blocks of data until a
STOP_TRANSMISSION follows or the requested number of
block received. If sent as a packed command (either packed
write, or the header of packed read) the argument shall contain
the 1st read/write data address in the pack. (address of 1st indi-
vidual command inside the pack)
Name Field
Size
(Bytes)
Cell
Type
CSD-Slice Value
Max packed read commands MAX_PACKED_READS 1 R [501] 0x3F
Max packed write commands MAX_PACKED_WRITES 1 R [500] 0x3F
Exception events control EXCEPTION_EVENTS_CTRL 2 R/W/E_P [57:56] 0x00
Exception events status EXCEPTION_EVENTS_STATUS 2 R [55:54] 0x00
Packed command status PACKED_COMMAND_STATUS 1 R [36] 0x00
Packed command failure index PACKED_FAILURE_INDEX 1 R [35] 0x00
- 10 -
IF THERE IS ANY OTHER OPERATION TO IMPLEMENT IN ADDITION TO SPECIFICATION
IN THE DATASHEET OR JEDEC STANDARD, PLEASE CONTACT EACH BRANCH OFFICE OR
HEADQUARTERS OF SAMSUNG ELECTRONICS.
datasheet
e·MMC
Rev. 1.0
KLMxGxGEAC-B001
SAMSUNG CONFIDENTIAL
[Table 5] Definition of EXT_CSD value for Packed Command
[Table 6] Packed command structure
Field Definition
MAX_PACKED_READS Max. number of commands that can be packed in the packed read command. Min. value is ‘5’
MAX_PACKED_WRITES Max. number of commands that can be packed in the packed write command. Min. value is ‘3’
EXCEPTION_EVENTS_CTRL
Bit [15:4], Bit [0] : Reserved
Bit [3] : PACKED_EVENT_EN
Bit [2] : SYSPOOL_EVENT_EN
Bit [1] : DYNCAP_EVENT_EN
EXCEPTION_EVENTS_STATUS
Bit [15:4] : Reserved
Bit [3] : PACKED_FAILURE
(If this bit is set, the last packed command has failed. Host should check EXT_CSD field
PACKED_COMMAND_STATUS for the detailed cause.)
Bit [2] : SYSPOOL_EXHAUSTED
Bit [1] : DYNCAP_NEEDED
Bit [0] : URGENT_BKOPS
PACKED_COMMAND_STATUS
Status of the last packed command.
Bit [7:2] : Reserved
Bit [1] : Indexed Error, Bit [0] : Error
If any error occurs during packed command operation, the ‘Error bit’ (Bit 0) is set. If the error is a result of one of
the individual commands inside the packed command, its index is reported in PACKED_FAILURE_INDEX [35]
and ‘Indexed Error’ bit (bit 1) is set as well.
PACKED_FAILURE_INDEX
If the ‘Indexed Error’ bit (bit 1) in PACKED_COMMAND_STATUS is set, this field specifies the index in the
header of the failed command.
Entry Index Offset (Bytes) Name Length (Bytes)
-
+0 VERSION 1
+1 R/W 1
+2 NUM_ENTRIES(=N) 1
+3 padding to 8B 5
1
+8 CMD23_ARG_1 4
+12 CMDxx_ARG_1 4
2
+16 CMD23_ARG_2 4
+20 CMDxx_ARG_2 4
3
+24 CMD23_ARG_3 4
+28 CMDxx_ARG_3 4
---
N
+8N CMD23_ARG_ 4
+8N+4 CMDxx_ARG_1 4
- +8N+8 Radding till block ends