SanDisk SDSDB-016G-A11 Product Manual - Page 40
Status Register
UPC - 619659055639
View all SanDisk SDSDB-016G-A11 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 40 highlights
Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.5.4 Status Register The SD Card Status Register structure is defined in Table 3-29. 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-29 Status Register Description Bit 31 30 29 28 27 26 25 24 23 22 21 20 Identifier OUT_OF_ RANGE ADDRESS_ ERROR Type E R X E R X BLOCK_LEN_ E R X ERROR ERASE_SEQ_ ERROR ERASE_ PARAM WP_ VIOLATION CARD_IS_ LOCKED LOC_UNLOCK _FAILED E R E R X E R X S X E R X COM_CRC_ ERROR ILLEGAL_ COMMAND CARD_ECC_ FAILED E R E R E R X CC_ERROR E R X Value 0 = no error 1 = error 0 = no error 1 = error 0 = no error 1 = error 0 = no error 1 = error 0 = no error 1 = error 0 = not protected 1 = protected 0 = unlocked 1 = locked 0 = no error 1 = error 0 = no error 1 = error 0 = no error 1 = error 0 = success 1 = failure 0 = no error 1 = error Description Clear Cond. The command's argument C was out of the allowed range for this card. A misaligned address that C did not match the block length was used in the command. The transferred block length C is not allowed for this card, or the number of transferred bytes does not match the block length. An error in the sequence of C erase commands occurred. An invalid selection of write- C blocks for erase occurred. Attempt to program a write- C protected block. When set, signals that the A card is locked by the host Set when a sequence or C password error has been detected in lock/ unlock card command or if there was an attempt to access a locked card The CRC check of the B previous command failed Command not legal for the B card state Card internal ECC was C applied but failed to correct the data. Internal card controller error C © 2004 SanDisk Corporation 3-20 12/08/04