Product manual

3-22 SanDisk miniSD Card Product Manual, Rev. 1.1 © 2003 SANDISK CORPORATION
3.5.5. Status Register
The miniSD Card supports the following two card status fields:
Card Status—This status field is compatible to the MultiMediaCard protocol.
SD_Status—This extended status field of 512 bits supports special features unique to the miniSD
Card and future application specific features.
The miniSD Card status registers’ structures are defined in Table 3-27. The Type and Clear-Condition fields in the
table are coded as follows:
Type:
E—Error bit.
S—Status bit.
R—Detected and set for the actual command response.
X—Detected and set during command execution. The host must poll the card by sending status
command in order 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 will clear it (with a delay
of one command).
C—Clear by read.
Table 3-27. Card Status
Bits Identifier Type Value Description Clear
Cond.
31 OUT_OF_RANGE E R X ’0’= no error ’1’= error The command’s argument was out of the allowed
range for this card.
C
30 ADDRESS_ERROR E R ’0’= no error ’1’= error A misaligned address that did not match the
block length was used in the command.
C
29 BLOCK_LEN_ERROR E R ’0’= no error ’1’= error The transferred block length is not allowed for
this card, or the number of transferred bytes
does not match the block length.
C
28 ERASE_SEQ_ERROR E R ’0’= no error ’1’= error An error in the sequence of erase commands
occurred.
C
27 ERASE_PARAM E R X ’0’= no error ’1’= error An invalid selection of write-blocks for erase
occurred.
C
26 WP_VIOLATION E R X ’0’= not protected ’1’=
protected
Attempt to program a write-protected block. C
25 CARD_IS_LOCKED S X ‘0’ = card unlocked
‘1’ = card locked
When set, signals that the card is locked by the
host
A
24 LOCK_UNLOCK_FAIL ED E R X ‘0’ = no error
‘1’ = error
Set when a sequence or password error has
been detected in lock/ unlock card command or if
there was an attempt to access a locked card
C
23 COM_CRC_ERROR E R ’0’= no error ’1’= error The CRC check of the previous command failed. B
22 ILLEGAL_COMMAND E R ’0’= no error ’1’= error Command not legal for the card state B
21 CARD_ECC_FAILED E R X ’0’= success ’1’= failure Card internal ECC was applied but failed to
tth d t
C