SanDisk SDSDH-1024 Product Manual - Page 79

CMD Index, Argument, Resp., Abbreviation, Description, Erase Commands Class 5, I/O Mode Commands

Page 79 highlights

Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual CMD Index Type Argument Resp. Abbreviation CMD31 Reserved Erase Commands (Class 5) CMD32 ac [31:0] data address CMD33 ac [31:0] data address R1 ERASE_WR_BLK_START R1 ERASE_WR_BLK_END CMD38 CMD39 CMD40 ac [31:0] don't care R1b ERASE Reserved --- --- --- --- CMD41 Reserved I/O Mode Commands (Class 9) CMD39 CMD40 CMD41 MMCA Optional Command, currently not supported. Reserved Lock Card Commands (Class 7) CMD16 ac [31:] block length R1 SET_BLOCKLEN CMD42 adtc [31:0] stuff bits R1 LOCK_UNLOCK Description (representing 32 writeprotect groups starting at the specified address) followed by 16 CRC bits are transferred in a payload format via the data line. The last (least significant) bit of the protection bits corresponds to the first addressed group. If the addresses of the last groups are outside the valid range, then the corresponding writeprotection bits shall be set to zero. Sets the address of the first write block to be erased. Sets the address of the last write block of the continuous range to be erased. Erases all previously selected write blocks. Not valid in SD Memory Card -Reserved for MultiMediaCard I/O mode. Sets the block length (in bytes) for all following block commands (read, write, lock). Default block length is specified in the CSD. Supported only if Partial block RD/WR operation are allowed in CSD. Used to set/reset the password or lock/unlock the card. The size of the data block is set by the SET_BLOCK_LEN command. © 2004 SanDisk Corporation 4-35 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-35
12/08/04
CMD Index
Type
Argument
Resp.
Abbreviation
Description
(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. The last (least
significant) bit of the
protection bits
corresponds to the first
addressed group. If the
addresses of the last
groups are outside the
valid range, then the
corresponding write-
protection bits shall be
set to zero.
CMD31
Reserved
Erase Commands (Class 5)
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.
CMD38
ac
[31:0] don’t
care
R1b
ERASE
Erases all previously
selected write blocks.
CMD39
Reserved
CMD40
---
---
---
---
Not valid in SD Memory
Card -Reserved for
MultiMediaCard I/O
mode.
CMD41
Reserved
I/O Mode Commands (Class 9)
CMD39
CMD40
MMCA Optional Command, currently not supported.
CMD41
Reserved
Lock Card Commands (Class 7)
CMD16
ac
[31:] block
length
R1
SET_BLOCKLEN
Sets the block length (in
bytes) for all following
block commands (read,
write, lock). Default
block length is specified
in the CSD. Supported
only if Partial block
RD/WR operation are
allowed in CSD.
CMD42
adtc
[31:0] stuff
bits
R1
LOCK_UNLOCK
Used to set/reset the
password or lock/unlock
the card. The size of the
data block is set by the
SET_BLOCK_LEN
command.