ST STM32L4x6 Reference Manual page 1419

Table of Contents

Advertisement

RM0351
Bits
Identifier
28
ERASE_SEQ_ERROR
27
ERASE_PARAM
26
WP_VIOLATION
25
CARD_IS_LOCKED
LOCK_UNLOCK_
24
FAILED
23
COM_CRC_ERROR
22
ILLEGAL_COMMAND
21
CARD_ECC_FAILED
20
CC_ERROR
19
ERROR
18
Reserved
17
Reserved
16
CID/CSD_OVERWRITE
15
WP_ERASE_SKIP
14
CARD_ECC_DISABLED S X
Table 228. Card status (continued)
Type
Value
'0'= no error
'1'= error
'0'= no error
E X
'1'= error
'0'= no error
E X
'1'= error
'0' = card
S R
unlocked
'1' = card locked
'0'= no error
E X
'1'= error
'0'= no error
E R
'1'= error
'0'= no error
E R
'1'= error
'0'= success
E X
'1'= failure
'0'= no error
E R
'1'= error
'0'= no error
E X
'1'= error
'0'= no error '1'=
E X
error
'0'= not protected
E X
'1'= protected
'0'= enabled
'1'= disabled
DocID024597 Rev 3
SD/SDIO/MMC card host interface (SDMMC)
Description
An error in the sequence of erase
commands occurred.
An invalid selection of erase groups for
erase occurred.
Attempt to program a write-protected
block.
When set, signals that the card is locked
by the host
Set when a sequence or password error
has been detected in lock/unlock card
command
The CRC check of the previous command
failed.
Command not legal for the card state
Card internal ECC was applied but failed
to correct the data.
(Undefined by the standard) A card error
occurred, which is not related to the host
command.
(Undefined by the standard) A generic
card error related to the (and detected
during) execution of the last host
command (e.g. read or write failures).
Can be either of the following errors:
– The CID register has already been
written and cannot be overwritten
– The read-only section of the CSD does
not match the card contents
– An attempt to reverse the copy (set as
original) or permanent WP
(unprotected) bits was made
Set when only partial address space
was erased due to existing write
The command has been executed without
using the internal ECC.
Clear
condition
C
C
C
A
C
B
B
C
C
C
C
C
A
1419/1693
1450

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF