Table 158. Card Status - ST STM32F405 Reference Manual

Hide thumbs Also See for STM32F405:
Table of Contents

Advertisement

RM0090
Type:
E: error bit
S: status bit
R: detected and set for the actual command response
X: detected and set during command execution. The SDIO card host must poll the card
by issuing the status command to read these bits.
Clear condition:
A: according to the card current state
B: always related to the previous command. Reception of a valid command clears it
(with a delay of one command)
C: clear by read
Bits
Identifier
ADDRESS_
31
OUT_OF_RANGE
30
ADDRESS_MISALIGN
29
BLOCK_LEN_ERROR
28
ERASE_SEQ_ERROR
27
ERASE_PARAM
26
WP_VIOLATION

Table 158. Card status

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
RM0090 Rev 18
Secure digital input/output interface (SDIO)
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.
Clear
condition
C
C
C
C
C
C
1043/1749
1075

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF