Secure digital input/output interface (SDIO)
Table 146. Block-oriented write protection commands
CMD
Type
Argument
index
[31:0] data
CMD28 ac
address
[31:0] data
CMD29 ac
address
[31:0] write
CMD30 adtc
protect data
address
CMD31 Reserved
Table 147. Erase commands
CMD
Type
Argument
index
CMD32
Reserved. These command indexes cannot be used in order to maintain backward compatibility with older
...
versions of the MultiMediaCard.
CMD34
CMD35 ac
[31:0] data address R1
CMD36 ac
[31:0] data address R1
Reserved. This command index cannot be used in order to maintain backward compatibility with older
CMD37
versions of the MultiMediaCards
CMD38 ac
[31:0] stuff bits
Table 148. I/O mode commands
CMD
Type
Argument
index
[31:16] RCA
[15:15] register
write flag
CMD39 ac
[14:8] register
address
[7:0] register data
879/1422
Response
Abbreviation
format
R1b
SET_WRITE_PROT
R1b
CLR_WRITE_PROT
R1
SEND_WRITE_PROT
Response
Abbreviation
format
ERASE_GROUP_START
ERASE_GROUP_END
R1
ERASE
Response
Abbreviation
format
R4
FAST_IO
Doc ID 018909 Rev 4
Description
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 provides write protection
features, this command clears the write
protection bit of the addressed group.
If the card provides write protection
features, this command asks the card to
send the status of the write protection
bits.
Description
Sets the address of the first erase
group within a range to be selected
for erase.
Sets the address of the last erase
group within a continuous range to be
selected for erase.
Erases all previously selected write
blocks.
Description
Used to write and read 8-bit (register) data
fields. The command addresses a card and a
register and provides the data for writing if
the write flag is set. The R4 response
contains data read from the addressed
register. This command accesses
application-dependent registers that are not
defined in the MultiMediaCard standard.
RM0090
Need help?
Do you have a question about the STM32F40 Series and is the answer not in the manual?
Questions and answers