MultiMediaCard
TM
62
Sep.22.2005
Revision 0.3
CMD
INDEX
Type
Argument
Resp
Abbreviation
Command Description
CMD23
ac
[31:16] set to 0
[15:0] number of
blocks
R1
SET_BLOCK_COUNT
Defines the number of blocks which are going
to be transferred in the immediately succeeding
multiple block read or write command.
If the argument is all 0s, the subsequent read/
write operation will be open-ended.
CMD24
adtc
[31:0] data address
R1
WRITE_BLOCK
Writes a block of the size selected by the
SET_BLOCKLEN command.
a
a.The transferred data must not cross a physical block boundary unless WRITE_BLK_MISALIGN is set in the CSD
CMD25
adtc
[31:0] data address
R1
WRITE_MULTIPLE_BL
OCK
Continuously writes blocks of data until a
STOP_TRANSMISSION follows or the
requested number of block received.
CMD26
Not applicable
CMD27
adtc
[31:0] stuff bits
R1
PROGRAM_CSD
Programming of the programmable bits of the
CSD.
Table 6-12 : Block Oriented Write Commands (Class 4)
CMD
INDEX
Type
Argument
Resp
Abbreviation
Command Description
CMD28
ac
[31:0] data address
R1b
SET_WRITE_PROT
If the card has write protection features, this
command sets the write protection bit of the
addressed group. The properties of write pro-
tection are coded in the card specific data
(WP_GRP_SIZE).
CMD29
ac
[31:0] data address
R1b
CLR_WRITE_PROT
If the card provides write protection features,
this command clears the write protection bit of
the addressed group.
CMD30
adtc
[31:0] write protect
data address
R1
SEND_WRITE_PROT
If the card provides write protection features,
this command asks the card to send the status
of the write protection bits.
a
a.
32 write protection bits (representing 32 write protect groups starting at the specified address) followed by 16 CRC bits are trans-
ferred in a payload format via the data lines. The last (least significant) bit of the protection bits corresponds to the first addressed
group. If the addresses of the last groups are outside the valid range, then the corresponding write protection bits shall be set to zero.
CMD31
Reserved
Table 6-13 : Block Oriented Write Protection Commands (Class 6)