
MultiMediaCard Flash
Preliminary MultiMediaCard Product Manual;
1998 SANDISK CORPORATION
Page 73 of 79
CMD15
No
CMD16
Yes
[31:0]
length
block
R1
SET_BLOCKLEN
Selects a block length (in bytes) for all
following block commands (read and
write).
1
CMD17
Yes
[31:0]
address
data
R1
READ_SINGLE_
BLOCK
Reads a block of the size selected by the
SET_BLOCKLEN command.
CMD
18 No
CMD19
reserved
CMD20
No
CMD21.
CMD23
..
reserved
CMD24
Yes
[31:0]
address
data
R1b
3
WRITE_BLOCK
Writes a block of the size selected by the
SET_BLOCKLEN command.
CMD25
No
CMD26
No
CMD27
Yes
None
R1b
PROGRAM_CSD
Programming of the programmable bits of
the CSD.
CMD28
Yes
[31:0]
address
data
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 protection are coded in the card
specific data (WP_GRP_SIZE).
CMD29
Yes
[31:0]
address
data
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]
protect
address
write
data
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
Yes
[31:0]
address
data
R1
TAG_SECTOR_STA
RT
Sets the address of the first sector of the
erase group.
CMD33
Yes
[31:0]
address
data
R1
TAG_SECTOR_END Sets the address of the last sector in a
continuous range within the selected
erase group, or the address of a single
sector to be selected for erase.
CMD34
Yes
[31:0]
address
data
R1
UNTAG_SECTOR
Removes one previously selected sector
from the erase selection.
CMD35
Yes
[31:0]
address
data
R1
TAG_ERASE_GRO
UP_START
Sets the address of the first erase group
within a range to be selected for erase.
CMD36
Yes
[31:0]
address
data
R1
TAG_ERASE_GRO
UP_END
Sets the address of the last erase group
within a continuous range to be selected
for erase.
CMD37
Yes
[31:0]
address
data
R1
UNTAG_ERASE_
GROUP
Removes one previously selected erase
group from the erase selection.
CMD38
Yes
[31:0] stuff bits
R1b
ERASE
Erases all previously selected sectors.
CMD39
No
1
The default block length is as specified in the CSD.
2
The data transferred must not cross a physical block boundary unless READ_BLK_MISALIGN is set in the CSD.
3
R1b; R1 response with an optional trailing busy signal.
4
The data transferred must not cross a physical block boundary unless WRITE_BLK_MISALIGN is set in the CSD.
5
32 write protection bits (representing 32 write protect groups starting at the specified address) followed by 16 CRC bits are transferred
in a payload format via the data line.