MultiMediaCard
TM
96
Sep.22.2005
Revision 0.3
Figure 7-14 : Data Error Token
The 5 least significant bits (LSB) are the same error bits as in the response format R2.
7.21 Clearing Status Bits
As described in the previous paragraphs, in SPI mode, error and status bits are reported to the host in three different for-
mats: response R1, response R2 and data error token (the same bits may exist in multiple response types—e.g Address
Out Of Range. All Error bits defined in MultiMediaCard mode, with the exception of underrun and overrun, have the same
meaning and usage in SPI mode. There are some differences in the Status bits due to the different protocol (e.g. current
state is not defined in SPI mode). The detection mode and clear condition of Error and Status bits are identical to the Mul-
tiMediaCard mode, with one exception, Error bits are cleared when read by the host, regardless of the response format.
The following table describes the the various status bits:.
Idnetifier
Included
in rep
Type
Det
Mode
Value
Description
Clear
Cond
Address
Out Of Range
R1 R2
DataErr
E
R
’0’= no error
’1’= error
The command’s address argument was out
of the allowed range for this card.
C
X
A multiple block or stream read/write opera-
tion is attempting to read or write beyond
the card capacity (Although it started in a
valid address)
Address Misalign
R1 R2
DataErr
E
R
’0’= no error
’1’= error
The command’ s address argument (in
accordance with the currently set block
length) positions the first data block mis-
aligned to the card physical blocks.
C
X
A multiple block read/write operation is
attempting to read or write a data block,
which is not aligned to the physical blocks
of the card (Although it started with a valid
address/block-length combination)
Erase Sequence
Error
R1 R2
E
R
’0’= no error
’1’= error
An error in the sequence of erase com-
mands occurred.
C
Erase Param
R2
E
X
’0’= no error
’1’= error
An invalid selection of erase groups, for
erase, occurred.
C
0
7
Execution Error
Card Error
Card ECC Failed
Address Out Of Range
Address Misalign
0
0
0