SanDisk SDSDH-1024 Product Manual - Page 101

Reserved for I/O mode refer to SDIO Card Specification.

Page 101 highlights

Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual CMD SPI Index Mode Argument Resp Abbreviation Description (WP_GRP_SIZE). CMD29 Yes [31:0] data address 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] write protect data R1 address SEND_WRITE_ PROT If the card has write protection features, this command asks the card to send the status of the write protection bits. CMD31 Reserved CMD32 Yes [31:0] data address R1 ERASE_WR_BLK_ Sets the address of START_ADDR the first write block to be erased. CMD33 Yes [31:0] data address R1 ERASE_WR_BLK_ Sets the address of END_ADDR the last write block in a continuous range to be erased. CMD34 ... CMD37 Reserved for each command system set by switch function command (CMD6). Detailed definition can be referenced in each command system specification. CMD38 Yes [31:0] stuff bits R1b ERASE Erases all previously selected write blocks. CMD39 No --- --- --- --- CMD40 No --- --- --- --- CMD41 Reserved CMD42 Yes [31:0] stuff bits R1 LOCK_UNLOCK Used to set/re-set the password or lock/unlock the card. A transferred data block includes all the command details. The size of the data block is defined with SET_BLOCK_LEN command. CMD43CMD49 CMD51 Reserved. CMD50 Reserved for each command system set by switch function command (CMD6). Detailed definition can be referenced in each command system specification. CMD52 ... CMD54 Reserved for I/O mode (refer to SDIO Card Specification). CMD55 Yes [31:0] stuff bits R1 APP_CMD Notifies the card that the next command is an application-specific command rather than a standard command. © 2004 SanDisk Corporation 5-11 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 5 – SPI Protocol
Revision 2.2
SD Card Product Manual
© 2004 SanDisk Corporation
5-11
12/08/04
CMD
Index
SPI
Mode
Argument
Resp
Abbreviation
Description
(WP_GRP_SIZE).
CMD29
Yes
[31:0] data address
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] write protect data
address
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.
CMD31
Reserved
CMD32
Yes
[31:0] data address
R1
ERASE_WR_BLK_
START_ADDR
Sets the address of
the first write block to
be erased.
CMD33
Yes
[31:0] data address
R1
ERASE_WR_BLK_
END_ADDR
Sets the address of
the last write block in
a continuous range to
be erased.
CMD34
CMD37
Reserved for each command system set by switch function command (CMD6). Detailed
definition can be referenced in each command system specification.
CMD38
Yes
[31:0] stuff bits
R1b
ERASE
Erases all previously
selected write blocks.
CMD39
No
---
---
---
---
CMD40
No
---
---
---
---
CMD41
Reserved
CMD42
Yes
[31:0] stuff bits
R1
LOCK_UNLOCK
Used to set/re-set the
password or
lock/unlock the card.
A transferred data
block includes all the
command details. The
size of the data block
is defined with
SET_BLOCK_LEN
command.
CMD43-
CMD49
CMD51
Reserved.
CMD50
Reserved for each command system set by switch function command (CMD6). Detailed
definition can be referenced in each command system specification.
CMD52
CMD54
Reserved for I/O mode (refer to SDIO Card Specification).
CMD55
Yes
[31:0] stuff bits
R1
APP_CMD
Notifies the card that
the next command is
an application-specific
command rather than
a standard command.