Detailed Command Description - SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory Card Product Manual

Secure digital card
Table of Contents

Advertisement

Secure Digital (SD) Card Protocol Description

4.8.4. Detailed Command Description

Tables 4-3 through 4-9 define in detail the SD Card bus commands.
Cmd
Type
Argument
Index
CMD0
bc
[31:0] don't care*
CMD1
CMD2
bcr
[31:0] don't care*
CMD3
bcr
[31:0] don't care*
CMD4
1
CMD5
CMD6
CMD7
ac
[31:16] RCA
[15:0] don't care*
CMD8
CMD9
ac
[31:16] RCA
[15:0] don't care*
CMD10
ac
[31:16] RCA
[15:0] don't care*
CMD11
adtc
[31:0] data address
CMD12
ac
[31:0] don't care*
CMD13
ac
[31:16] RCA
[15:0] don't care*
CMD14
CMD15
ac
[31:16] RCA
[15:0] don't care*
* The bit places must be filled but the value is irrelevant.
1)
The DSR option (as well as the SET_DSR command) is not supported by the SanDisk SD Card.
2)
The addressing capability @ 8 bit address resolution is 232 = 4 Gbyte.
3)
The card may become busy after this command. Refer to Figure 5-25 for more details.
4-20
Table 4-3. Basic Commands (Class 0 And Class 1)
Resp
Abbreviation
-
GO_IDLE_STATE
R2
ALL_SEND_CID
R6
SEND_RELATIVE_
R1
SELECT/DESELECT_
(only
from the
selected
card)
R2
SEND_CSD
R2
SEND_CID
R1
READ_DAT_UNTIL_
2
R1b
3
TRANSMISSION
R1
SEND_STATUS
-
GO_INACTIVE_
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
Resets all cards to Idle State.
Reserved
Asks any card to send their CID numbers on the
CMD line. (Any card that is connected to the host
will respond.)
Asks the card to publish a new relative address
ADDR
(RCA).
Not Supported
Reserved
Reserved
Command toggles a card between the Stand-by
CARD
and Transfer states or between the Programming
and Disconnect state.
In both cases the card is selected by its own
relative address and deselected by any other
address; address 0 deselects all. When the RCA
equals 0, the host may do one of the following:
—use other RCA number to perform card de-
selection or
—re-send CMD3 to change its RCA number to
other then 0 and then use CMD7 with RCA=0 for
card de-selection.
Reserved
Addressed card sends its card-specific data (CSD)
on the CMD line.
Addressed card sends its card identification (CID)
on the CMD line.
Reads data stream from the card, starting at the
STOP
given address, until a STOP_TRANSMISSION
follows.
STOP_
Terminates a multiple block read/write operation.
Addressed card sends its status register.
Reserved
Sets the card to inactive state.
STATE
Command Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents