SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory Card Product Manual page 93

Secure digital card
Table of Contents

Advertisement

CMD
SPI
Argument
INDEX
Mode
CMD26
No
CMD27
Yes
CMD28
Yes
[31:0] data address
1
CMD29
Yes
[31:0] data address
4
CMD30
Yes
[31:0] write protect
data address
CMD31
CMD32
Yes
[31:0] data address
CMD33
Yes
[31:0] data address
CMD34
....
CMD37
CMD38
Yes
[31:0] don't care*
CMD39
No
CMD40
No
CMD41 ...
CMD54
CMD55
Yes
[31:0] stuff bits
CMD56
Yes
[31:0] stuff bits
[0]: RD/WR.
CMD57
CMD58
Yes
CMD59
Yes
[31:1] don't care*
[0:0] CRC option
CMD60-63
* The bit places must be filled but the values are irrelevant.
1)
These features are not currently supported in the SanDisk SD Card.
2)
32 write protection bits (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.
3)
RD/WR_: "1"=the host will get a block of data from the card. "0"=the host sends a block of data to the card.
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
Resp
None
R1
PROGRAM_CSD
R1b
SET_WRITE_PROT
R1b
CLR_WRITE_PROT
R1
R1
ERASE_WR_BLK_START
R1
ERASE_WR_BLK_END
R1b
R1
R1
3
None
R3
R1
Abbreviation
Programming of the programmable bits of the CSD.
If the card has write protection features, this
command sets the write protection bit of the
addressed group. The properties of write protection
are coded in the card specific data
(WP_GRP_SIZE).
If the card has write protection features, this
command clears the write protection bit of the
addressed group.
SEND_WRITE_
If the card has write protection features, this
PROT
command asks the card to send the status of the
write protection bits.
Reserved
Sets the address of the first write block to be
_ADDR
erased.
Sets the address of the last write block in a
_ADDR
continuous range to be erased.
Reserved
ERASE
Erases all previously selected write blocks.
Reserved
APP_CMD
Notifies the card that the next command is an
application specific command rather than a
standard command.
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 is defined with
SET_BLOCK_LEN command.
Reserved
READ_OCR
Reads the OCR register of a card.
CRC_ON_OFF
Turns the CRC option on or off. A '1' in the CRC
option bit will turn the option on, a '0' will turn it off.
No
SPI Protocol Definition
Command Description
2
5-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents