Chapter 5 – SPI Protocol
Revision 2.2
SD Card Product Manual
© 2004 SanDisk Corporation
5-16
12/08/04
Table 5-3
SPI Mode Status Bits
Identifier Inc
in
Resp. Type
Value
Description
Clear
Condi-
tion
Out of range
R2 DataErr
E R X
0=no error
1= error
Command argument
was out of the allowed
range for this card.
C
Address error
R1 R2
E R X
0=no error
1= error
Misaligned address
which did not match
the block length was
used in the command
C
Erase seq.
error
R1 R2
E R
0=no error
1= error
Error occurred in erase
command sequence
Erase param
R2
E X
0=no error
1= error
Error in the erase
command sequence
parameters
C
Parameter
error
R1 R2
E R X
0=no error
1= error
Error occurred in
command parameters
C
WP violation
R2
E R X
0=not
protected
1=protected
Attempt to program a
write- protected block
C
Com CRC
error
R1 R2
E R
0=no error
1= error
CRC check of the
command failed
C
Illegal
command
R1 R2
E R
0=no error
1= error
Command not legal for
the card state
C
Card ECC
failed
R2 DataErr
E X
0=success
1=failure
Card internal ECC was
applied but failed to
correct data
C
CC error
R2 DataErr
E R X
0=no error
1= error
Internal card controller
error
C
Error
R2 DataErr
E R X
0=no error
1= error
General or unknown
error occurred during
the operation
C
CSD overwrite
R2
E R X
0=no error
1= error
Can be either on of the
following errors: 1)
Read-only section of
the CSD does not
match the card content
2) Attempt to reverse
the copy (set as
original) or permanent
WP (unprotected) bits
was made
C
WP erase skip
R2
S X
0=not
protected
1=protected
Partial address space
erased due to existing
write protected blocks
C
Lock/unlock
command
failed
R2
X
0=no error
1= error
Sequence or password
error during card
lock/unlock operation
C
Card is locked
R2
S X
0=not locked
1=locked
Card locked by a user
password
A
Erase reset
R1 R2
S R
0=cleared
1=set
Erase sequence was
cleared before
executing because an
out-of-erase seqence
command was
C