Product manual
Industrial Grade SD Card Interface Description
3-22 SanDisk Industrial Grade SD Product Manual, Rev. 1.0 © 2003 SANDISK CORPORATION
Table 3-28. 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
correct the data.
C
20 CC_ERROR E R X ’0’= no error ’1’= error Internal card controller error C
19 ERROR E R X ’0’= no error
’1’= error
A general or an unknown error occurred during
the operation.
C
18 Reserved
17 Reserved
16 CID/ CSD_OVERWRITE E R X ’0’= no error
’1’= error
Can be either one of the following errors:
- The CID register has been already written and
can not be overwritten
- 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) bits was made.
C
15 WP_ERASE_SKIP S X ’0’= not protected ’1’=
protected
Only partial address space was erased due to
existing write protected blocks.
C
14 CARD_ECC_DISABLE D S X ’0’= enabled ’1’= disabled The command has been executed without using
the internal ECC.
A
13 ERASE_RESET S R ’0’= cleared ’1’= set An erase sequence was cleared before
executing because an out of erase sequence
command was received.
C