09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RM0090</strong> Secure digital input/output interface (SDIO)<br />

Table 134. Card status<br />

Bits Identifier Type Value Description<br />

31<br />

ADDRESS_<br />

OUT_OF_RANGE<br />

30 ADDRESS_MISALIGN<br />

29 BLOCK_LEN_ERROR<br />

28 ERASE_SEQ_ERROR<br />

E R X<br />

27 ERASE_PARAM E X<br />

26 WP_VIOLATION E X<br />

25 CARD_IS_LOCKED S R<br />

24<br />

LOCK_UNLOCK_<br />

FAILED<br />

E X<br />

23 COM_CRC_ERROR E R<br />

22 ILLEGAL_COMMAND E R<br />

21 CARD_ECC_FAILED E X<br />

20 CC_ERROR E R<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

‘0’ = card<br />

unlocked<br />

‘1’ = card locked<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

’0’= no error<br />

’1’= error<br />

’0’= success<br />

’1’= failure<br />

’0’= no error<br />

’1’= error<br />

The command address argument was out<br />

of the allowed range for this card.<br />

A multiple block or stream read/write<br />

operation is (although started in a valid<br />

address) attempting to read or write<br />

beyond the card capacity.<br />

The commands address argument (in<br />

accordance with the currently set block<br />

length) positions the first data block<br />

misaligned to the card physical blocks.<br />

A multiple block read/write operation<br />

(although started with a valid<br />

address/block-length combination) is<br />

attempting to read or write a data block<br />

which is not aligned with the physical<br />

blocks of the card.<br />

Either the argument of a<br />

SET_BLOCKLEN command exceeds the<br />

maximum value allowed for the card, or<br />

the previously defined block length is<br />

illegal for the current command (e.g. the<br />

host issues a write command, the current<br />

block length is smaller than the maximum<br />

allowed value for the card and it is not<br />

allowed to write partial blocks)<br />

An error in the sequence of erase<br />

commands occurred.<br />

An invalid selection of erase groups for<br />

erase occurred.<br />

Attempt to program a write-protected<br />

block. C<br />

When set, signals that the card is locked<br />

by the host<br />

Set when a sequence or password error<br />

has been detected in lock/unlock card<br />

command<br />

The CRC check of the previous command<br />

failed.<br />

Command not legal for the card state B<br />

Card internal ECC was applied but failed<br />

to correct the data.<br />

(Undefined by the standard) A card error<br />

occurred, which is not related to the host<br />

command.<br />

Clear<br />

condition<br />

Doc ID 018909 Rev 3 866/1416<br />

C<br />

C<br />

C<br />

C<br />

C<br />

A<br />

C<br />

B<br />

C<br />

C

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!