Secure Digital (SD) Card Protocol Description
4-22
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
Table 4-7. Erase Commands (Class 5)
Cmd
Index
Type Argument Resp
Abbreviation
Command
Description
CMD32 ac [31:0]
data
address
R1
ERASE_WR_BLK_START
Sets the address of the first write block to be
erased.
CMD33 ac [31:0]
data
address
R1
ERASE_WR_BLK_END
Sets the address of the last write block of the
continuous range to be erased.
CMD34
…
CMD37
Reserved
CMD38
ac
[31:0] don’t care*
R1b
ERASE
Erases all previously selected write blocks.
CMD39
…
CMD41
Reserved
* The bit places must be filled but the value is irrelevant.
Table 4-8. Lock Card Commands (Class 7)
Cmd
Index
Type Argument Resp Abbreviation
Command
Description
CMD42
….
CMD54
SDA Optional Commands, currently supported by SanDisk SD Card.
Table 4-9. Application Specific Commands (Class 8)
CMD
INDEX
Type Argument Resp.
Abbreviation
Command
Description
CMD55
ac
[31:16] RCA [15:0]
stuff bits
R1
APP_CMD
Indicates to the card that the next command is an
application specific command rather than a
standard command
CMD56
adtc
[31:1] stuff bits.
[0]: RD/ WR
1
R1
GEN_CMD
Used either to transfer a data block to the card or
to get a data block from the card for general
purpose / application specific commands. The
size of the data block shall be set by the
SET_BLOCK_LEN command.
CMD57 ...
CMD59
Reserved
CMD60 -63
Reserved for Manufacturer
1) RD/WR: “1” = the host gets a block of data from the card. “0” = the host sends a block of data to the card.