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

Secure digital card
Table of Contents

Advertisement

Cmd
Type
Argument
Index
CMD16
ac
[31:0] block length
CMD17
adtc
[31:0] data address
CMD18
adtc
[31:0] data address
CMD19 –
CMD23
Cmd
Type
Argument
Index
CMD24
adtc
[31:0] data address
CMD25
adtc
[31:0] data address
CMD26
CMD27
adtc
[31:0] don't care*
* The bit places must be filled but the value is irrelevant.
Cmd
Type
Argument
Index
CMD28*
ac
[31:0] data address
CMD29*
ac
[31:0] data address
CMD30*
adtc
[31:0] write protect
data address
CMD31
1)
The default block length is as specified in the CSD (512 bytes). A set block length of less than 512 bytes will
cause a write error. The only valid write set block length is 512 bytes. CMD16 is not mandatory if the default is
accepted.
2)
The data transferred must not cross a physical block boundary.
3)
All data blocks are responded to with a data response token followed by a busy signal. The data transferred
must not cross a physical block boundary.
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
Table 4-4. Block Read Commands (Class 2)
Resp
Abbreviation
R1
SET_BLOCKLEN
R1
READ_SINGLE_
BLOCK
R1
READ_MULTIPLE_BLOCK
Reserved
Table 4-5. Block Write Commands (Class 4)
Resp
Abbreviation
R1
WRITE_BLOCK
R1
WRITE_MULTIPLE_
BLOCK
Not Applicable
R1
PROGRAM_CSD
Table 4-6. Write Protection (Class 6)
Resp
Abbreviation
R1b
SET_WRITE_PROT
R1b
CLR_WRITE_PROT
R1
SEND_WRITE_
PROT
Reserved
Secure Digital (SD) Card Protocol Description
Command Description
Selects a block length (in bytes) for all following
block commands (read and write).
Reads a block of the size selected by the
SET_BLOCKLEN command.
2
Continuously send blocks of data until interrupted
by a stop transmission command.
Command Description
Writes a block of the size selected by the
SET_BLOCKLEN command.
3
Continuously writes blocks of data until a
STOP_TRANSMISSION follows.
Programming of the programmable bits of the CSD.
Command Description
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).
This command clears the write protection bit of
the addressed group.
This command asks the card to send the status of
the write protection bits.
1
4-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents