GD32W51x User Manual
786
Bits
Identifier
Type
Value
Description
Clear
Condition
27
ERASE_PA RAM
ERX
’0’= no error
’1’= error
An invalid selection of w rite-
blocks for erase occurred.
C
26
WP_VIOLATION
ERX
’0’= not protected
’1’= protected
Set w hen the host attempts to
w rite to a protected block or
to the temporary or
permanent w rite protected
card.
C
25
CARD_IS_LOCKED
SX
‘0’ = card
unlocked
‘1’ = card locked
When set, signals that the
card is locked by the host
A
24
LOCK_UNLOCK_FA IL
ED
ERX
’0’= no error
’1’= error
Set w hen a sequence or
passw ord error has been
detected in lock/unlock card
command.
C
23
COM_CRC_ERROR
ER
’0’= no error
’1’= error
The CRC check of the
previous command failed.
B
22
ILLEGAL_COMMAND
ER
’0’= no error
’1’= error
Command not legal for the
card state.
B
21
CARD_ECC_FA ILED
ERX
’0’= success
’1’= failure
Card internal ECC w as
applied but failed to correct
the data.
C
20
CC_ERROR
ERX
’0’= no error
’1’= error
Internal card controller error.
C
19
ERROR
ERX
’0’= no error
’1’= error
A general or an unknow n
error occurred during the
operation.
C
18
UNDERRUN
ERX
’0’= no error
’1’= error
Only for MMC. The card
could not sustain data
transfer in stream read mode.
C
17
OVERRUN
ERX
’0’= no error
’1’= error
Only for MMC. The card
could not sustain data
programming in stream w rite
mode.
C
16
CID/
CSD_OVERWRITE
ERX
’0’= no error
’1’= error
Can be either one of the
follow ing errors:
- The read only section of the
CSD does not match the card
content.
- An attempt to reverse the
copy (set as original) or
permanent WP(unprotected)
C