Table 239. Erase Commands; Table 240. I/O Mode Commands; Table 241. Lock Card - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

SD/SDIO/MMC card host interface (SDMMC)
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
CMD
Type
Argument
index
[31:16] RCA
[15:15] register
write flag
CMD39 ac
[14:8] register
address
[7:0] register data
CMD40 bcr
[31:0] stuff bits
CMD41 Reserved
CMD
Type
Argument
index
CMD42 adtc
[31:0] stuff bits
CMD43
...
Reserved
CMD54
1428/1693

Table 239. Erase commands

Response
Abbreviation
format
ERASE_GROUP_START
ERASE_GROUP_END
R1
ERASE

Table 240. I/O mode commands

Response
Abbreviation
format
R4
FAST_IO
R5
GO_IRQ_STATE Places the system in the interrupt mode.

Table 241. Lock card

Response
Abbreviation
format
R1b
LOCK_UNLOCK
DocID024597 Rev 3
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.
Description
Sets/resets the password or locks/unlocks
the card. The size of the data block is set
by the SET_BLOCK_LEN command.
RM0351

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF