![](http://datasheet.mmic.net.cn/390000/MC12U064DACA-2QC00_datasheet_16819831/MC12U064DACA-2QC00_31.png)
MultiMediaCard
TM
[15:0] stuff bits
TE
protect the card stack against
communications breakdowns.
Selects a block length (in bytes) for all
following block commands (read and write).
*4
CMD16 ac
[31:0] block
length
R1
SET_BLOCKLEN
CMD17 adtc
[31:0] data
address
[31:0] data
address
reserved
[31:0] data
address
R1
READ_SINGLE_BL
OCK
READ_MULTIPLE_
BLOCK
Reads a block of the size selected by the
SET_BLOCKLEN command.
*5
Continuously send blocks of data until
interrupted by a stop.
CMD18 adtc
R1
CMD19
CMD20 adtc
R1
WRITE_DAT_UNTIL
_STOP
Writes data stream from the host, starting at
the given address, until a
STOP_TRANSMISSION follows.
These Samsung MultiMediaCard do not
support this command
CMD21
…
CMD22
CMD23 ac
reserved
[31:16] set to 0
[15:0] number
of blocks
R1
SET_BLOCK_COU
NT
Defines the number of blocks which are
going to be transferred in the immediatedly
succeeding multiple block read or write
command.
Writes a block of the size selected by the
SET_BLOCKLEN command.
*6
Continuously writes blocks of data until a
STOP_TRANSMISSION follows.
Programming of the card identification
register. This command is only done once
per MultiMediaCard card. The card has
some hardware to prevent this operation
after the first programming. Normally this
command is reserved for the manufacturer.
Programming of the programmable bits of
the CSD.
If the card has write protection features, this
command sets the write protection bit of the
addressed group. The properties of write
protection are coded in the card specific
data (WP_GRP_SIZE).
If the card provides write protection
features, this command clears the write
protection bit of the addressed group.
If the card provides write protection
features, this command asks the card to
send the status of the write protection bits.
*7
CMD24 adtc
[31:0] data
address
[31:0] data
address
[31:0] stuff bits R1
R1
WRITE_BLOCK
CMD25 adtc
R1
WRITE_MULTIPLE_
BLOCK
PROGRAM_CID
CMD26 adtc
CMD27 adtc
[31:0] stuff bits R1
PROGRAM_CSD
CMD28 ac
[31:0] data
address
R1b
SET_WRITE_PROT
CMD29 ac
[31:0] data
address
R1b
CLR_WRITE_PROT
CMD30 adtc
[31:0] write
protect data
address
R1
(7)
SEND_WRITE_PR
OT
CMD31 Reversed
CMD35 ac
[31:0] data
address
[31:0]
address
R1
TAG_ERASE_GRO
UP_START
TAG_ERASE_GRO
UP_END
Sets the address of the first erase group
within a range to be selected for erase
Sets the address of the last erase group
within a continuous range to be selected for
erase.
Erases all previously selected sectors
Used to set/reset the password or
lock/unlock the card. The size of the data
CMD36 ac
data
R1
CMD38 ac
CMD42 adtc
[31:0] stuff bits R1b
[31:0] stuff bits R1b
ERASE
LOCK_UNLOCK
31