SanDisk SDSDH-1024 Product Manual - Page 77

CMD Index, Argument, Resp., Abbreviation, Description, Block Read Commands Class 2

Page 77 highlights

Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual CMD Index CMD3 CMD4 CMD5 CMD7 Type Argument Resp. Abbreviation bcr [31:0]stuff bits R6 SEND_RELATIVE_ADDR bcr [31:0]stuff bits --- SET_DSR Reserved for I/O cards (refer to the SDIO Card Specification) ac [31:16]RCA R1b SELECT/DESELECT_CARD [15:0] don't (from care selected card only) CMD8 Reserved CMD9 ac [31:16]RCA R2 SEND_CSD [15:0] stuff bits CMD10 ac [31:16]RCA R2 SEND_CID [15:0] stuff bits CMD11 Reserved CMD12 ac [31:0] stuff bits R1b STOP_TRANSMISSION CMD13 ac [31:16]RCA R1 SEND_STATUS [15:0] stuff bits CMD14 Reserved CMD15 ac [31:16]RCA --- GO_INACTIVE_STATE [15:0] stuff bits Block Read Commands (Class 2) CMD16 ac [31:0] block R1 SET_BLOCKLEN length Description Asks the card to publish a new relative address Programs the DSR of all cards Toggles card between the stand-by and transfer states -orprogramming and disconnect states. In both cases, the card is selected by its own relative address and deselected by any other address; address 0 deselects all. If the RCA=0, the host may do one of the following: >>Use other RCA number to perform card de-selection. >>Re-send CMD3 to change its RCA number to other than 0 and use CMD7 w/RCA=0 for card de-selection Sends addressed card's card-specific data (CSD) on the CMD line. Sends addressed card's card identification (CID) on the CMD line. Forces the card to stop transmission. Sends addressed card's Status Register. Sets the card to inactive state. Sets the block length (in bytes) for all following block commands (read, write, lock). Default block length is fixed 512Bytes. If block length is set bigger than 512Bytes, the card will set the BLOCK_LEN_ERROR bit. Supported only if Partial block RD/WR operation are allowed in © 2004 SanDisk Corporation 4-33 12/08/04

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123

Chapter 4 – SD Card Protocol Description
Revision 2.2
SanDisk SD Card Product Manual
© 2004 SanDisk Corporation
4-33
12/08/04
CMD Index
Type
Argument
Resp.
Abbreviation
Description
CMD3
bcr
[31:0]stuff
bits
R6
SEND_RELATIVE_ADDR
Asks the card to publish
a new relative address
CMD4
bcr
[31:0]stuff
bits
---
SET_DSR
Programs the DSR of all
cards
CMD5
Reserved for I/O cards (refer to the SDIO Card Specification)
CMD7
ac
[31:16]RCA
[15:0] don’t
care
R1b
(from
selected
card
only)
SELECT/DESELECT_CARD
Toggles card between
the stand-by and
transfer states -or-
programming and
disconnect states. In
both cases, the card is
selected by its own
relative address and
deselected by any other
address; address 0
deselects all. If the
RCA=0, the host may do
one of the following:
>>Use other RCA
number to perform card
de-selection.
>>Re-send CMD3 to
change its RCA number
to other than 0 and use
CMD7 w/RCA=0 for card
de-selection
CMD8
Reserved
CMD9
ac
[31:16]RCA
[15:0] stuff
bits
R2
SEND_CSD
Sends addressed card’s
card-specific data (CSD)
on the CMD line.
CMD10
ac
[31:16]RCA
[15:0] stuff
bits
R2
SEND_CID
Sends addressed card’s
card identification (CID)
on the CMD line.
CMD11
Reserved
CMD12
ac
[31:0] stuff
bits
R1b
STOP_TRANSMISSION
Forces the card to stop
transmission.
CMD13
ac
[31:16]RCA
[15:0] stuff
bits
R1
SEND_STATUS
Sends addressed card’s
Status Register.
CMD14
Reserved
CMD15
ac
[31:16]RCA
[15:0] stuff
bits
---
GO_INACTIVE_STATE
Sets the card to inactive
state.
Block Read Commands (Class 2)
CMD16
ac
[31:0] block
length
R1
SET_BLOCKLEN
Sets the block length (in
bytes) for all following
block commands (read,
write, lock). Default
block length is fixed
512Bytes. If block length
is set bigger than
512Bytes, the card will
set the
BLOCK_LEN_ERROR
bit. Supported only if
Partial block RD/WR
operation are allowed in