MultiMediaCard
TM
91
Sep.22.2005
Revision 0.3
CMD
INDEX
SPI
Mode
Argument
Resp
Abbreviation
Command Description
CMD24
Yes
[31:0] data
address
R1
WRITE_BLOCK
Writes a block of the size selected by the
SET_BLOCKLEN command.
3
CMD25
Yes
[31:0] data
address
R1
WRITE_
MULTIPLE_BLOCK
Continuously writes blocks of data until a
“Stop Tran’ Token or the requested num-
ber of blocks received.
CMD26
No
CMD27
Yes
None
R1
PROGRAM_CSD
Programming of the programmable bits of
the CSD
CMD28
Yes
[31:0] data
address
R1b
4
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 protection are coded in the card spe-
cific data (WP_GRP_SIZE).
CMD29
Yes
[31:0] data
address
R1b
CLR_WRITE_PROT
If the card has write protection features,
this command clears the write protection
bit of the addressed group
CMD30
Yes
[31:0] write protect
data address
R1
SEND_WRITE_PROT
If the card has write protection features,
this command asks the card to send the
status of the write protection bits
5
CMD31
reserved
CMD32
...
CMD34
Reserved.
These command indexes cannot be used in order to maintain backwards compatibility with older versions of
the MultiMediaCards
CMD35
Yes
[31:0] data
address
R1
ERASE_GROUP_
START
Sets the address of the first erase group
within a range to be selected for erase
CMD36
Yes
[31:0] data
address
R1
ERASE_GROUP_
END
Sets the address of the last erase group
within a continuous range to be selected
for erase
CMD37
Reserved.
This command index cannot be used in order to maintain backwards compatibility with older versions of the
MultiMediaCards
CMD38
Yes
[31:0] stuff bits
R1b
ERASE
Erases all previously selected erase
groups
CMD39
No
CMD40
No
CMD41
reserved
CMD42
Yes
[31:0] stuff bits.
R1b
LOCK_UNLOCK
Used to Set/Reset the Password or lock/
unlock the card. The structure of the data
block is described in Chapter 4.4.10. The
size of the Data Block is defined by the
SET_BLOCK_LEN command.