SDIO interface (SDIO)
Table 109. Card status
Bits
Identifier
ADDRESS_
31
OUT_OF_RANGE
30
ADDRESS_MISALIGN
29
BLOCK_LEN_ERROR
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
436/690
Type
Value
'0'= no error
E R X
'1'= error
'0'= no error
'1'= error
'0'= no error
'1'= error
'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
Description
The command address argument was out
of the allowed range for this card.
A multiple block or stream read/write
operation is (although started in a valid
address) attempting to read or write
beyond the card capacity.
The commands address argument (in
accordance with the currently set block
length) positions the first data block
misaligned to the card physical blocks.
A multiple block read/write operation
(although started with a valid
address/block-length combination) is
attempting to read or write a data block
which is not aligned with the physical
blocks of the card.
Either the argument of a
SET_BLOCKLEN command exceeds the
maximum value allowed for the card, or
the previously defined block length is
illegal for the current command (e.g. the
host issues a write command, the current
block length is smaller than the maximum
allowed value for the card and it is not
allowed to write partial blocks)
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.
RM0008
Clear
condition
C
C
C
C
C
C
A
C
B
B
C
C
Need help?
Do you have a question about the STM32F102 Series and is the answer not in the manual?
Questions and answers