29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

RM0008<br />

Table 128.<br />

Card status<br />

Bits Identifier Type Value Description<br />

Clear<br />

condition<br />

31<br />

ADDRESS_<br />

OUT_OF_RANGE<br />

E R X<br />

’0’= no error<br />

’1’= error<br />

The comm<strong>and</strong> 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 />

C<br />

30 ADDRESS_MISALIGN<br />

’0’= no error<br />

’1’= error<br />

The comm<strong>and</strong>s 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 />

C<br />

29 BLOCK_LEN_ERROR<br />

’0’= no error<br />

’1’= error<br />

Either the argument of a<br />

SET_BLOCKLEN comm<strong>and</strong> exceeds the<br />

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

the previously defined block length is<br />

illegal for the current comm<strong>and</strong> (e.g. the<br />

host issues a write comm<strong>and</strong>, the current<br />

block length is smaller than the maximum<br />

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

allowed to write partial blocks)<br />

C<br />

28 ERASE_SEQ_ERROR<br />

’0’= no error<br />

’1’= error<br />

An error in the sequence of erase<br />

comm<strong>and</strong>s occurred.<br />

C<br />

27 ERASE_PARAM E X<br />

’0’= no error<br />

’1’= error<br />

An invalid selection of erase groups for<br />

erase occurred.<br />

C<br />

26 WP_VIOLATION E X<br />

’0’= no error<br />

’1’= error<br />

Attempt to program a write-protected<br />

block.<br />

C<br />

25 CARD_IS_LOCKED S R<br />

‘0’ = card<br />

unlocked<br />

‘1’ = card locked<br />

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

by the host<br />

A<br />

24<br />

LOCK_UNLOCK_<br />

FAILED<br />

E X<br />

’0’= no error<br />

’1’= error<br />

Set when a sequence or password error<br />

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

comm<strong>and</strong><br />

C<br />

23 COM_CRC_ERROR E R<br />

’0’= no error<br />

’1’= error<br />

The CRC check of the previous comm<strong>and</strong><br />

failed.<br />

B<br />

22 ILLEGAL_COMMAND E R<br />

’0’= no error<br />

’1’= error<br />

Comm<strong>and</strong> not legal for the card state<br />

B<br />

21 CARD_ECC_FAILED E X<br />

’0’= success<br />

’1’= failure<br />

Card internal ECC was applied but failed<br />

to correct the data.<br />

C<br />

20 CC_ERROR E R<br />

’0’= no error<br />

’1’= error<br />

(Undefined by the st<strong>and</strong>ard) A card error<br />

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

comm<strong>and</strong>.<br />

C<br />

480/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!