GD32W51x User Manual
785
Card status
The response format R1 contains a 32-bit field named card status. This field is intended to
transmit the card
’
s status information (which may be stored in a local status register) to the
host. If not specified otherwise, the status entries are always related to the previous issued
command.
The type and clear condition fields in the table are abbreviated as follows:
Type
•E: Error bit. Send an error condition to the host. These bits are cleared as soon as the
response (reporting the error) is sent out.
•S: Status bit. These bits serve as information fields only, and do not alter the execution of the
command being responded to. These bits are persistent, they are set and cleared in
accordance with the card status.
•R: Exceptions are detected by the card during the command interpretation and validation
phase (Response Mode).
•X: Exceptions are detected by the card during command execution phase (Execution Mode).
Clear condition
•A: According to current state of the card.
•B: Always related to the previous command. Reception of a valid command will clear it (with
a delay of one command).
•C: Cleared by read
Table 23-23. Card status
Bits
Identifier
Type
Value
Description
Clear
Condition
31
OUT_OF_RA NGE
ERX
’0’= no error
’1’= error
The command’s argument
w as out of the allow ed range
for this card.
C
30
ADDRESS_ERROR
ERX
’0’= no error
’1’= error
A misaligned address w hich
did not match the block
length w as used in the
command.
C
29
BLOCK_LEN_ERROR
ERX
’0’= no error
’1’= error
The transferred block length
is not allow ed for this card, or
the number of transferred
bytes does not match the
block length.
C
28
ERASE_SEQ_ERROR
ER
’0’= no error
’1’= error
An error in the sequence of
erase commands occurred.
C