SDI Technologies SDIO Card manual Sdio Status Register Structure, Clear

Page 29

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

identify it as an I/O only response.

I/O specific status is reported by I/O response and Memory specific status is reported by Memory response except for the following case: In the SD bus mode, the card shall not respond to an Illegal Command or a command with a CRC error. The indication of those two error cases shall be given by the card in the following command’s response. This is true for an I/O only card as well as for combo cards, even in cases where the erroneous command and the command that follows are not targeting the same card module (Memory or I/O).

 

 

 

 

 

 

 

 

Clear

Bit

 

Identifier

Type

Value

 

 

Description

Condition

31

 

OUT_OF_RANGE

E R

’0’= no error

 

The command’s argument was out

C

 

 

 

 

’1’= error

 

of the allowed range for this card.

 

30

 

ADDRESS_ERROR

N/A

0

 

 

Not used with SDIO operation

C

29

 

BLOCK_LEN_ERROR

N/A

0

 

 

Not used with SDIO operation

C

28

 

ERASE_SEQ_ERROR

N/A

0

 

 

Not used with SDIO operation

C

27

 

ERASE_PARAM

N/A

0

 

 

Not used with SDIO operation

C

26

 

WP_VIOLATION

N/A

0

 

 

Not used with SDIO operation

C

25

 

CARD_IS_LOCKED

N/A

0

 

 

Not used with SDIO operation

C

24

 

LOCK_UNLOCK_FAILED

N/A

0

 

 

Not used with SDIO operation

C

23

 

COM_CRC_ERROR

E R

’0’= no error

 

The CRC check of the previous

B

 

 

 

 

’1’= error

 

command failed. (Note 1)

 

22

 

ILLEGAL_COMMAND

E R

’0’= no error

 

Previous command not legal for the

B

 

 

 

 

’1’= error

 

card state. (Note 2)

 

21

 

CARD_ECC_FAILED

N/A

0

 

 

Not used with SDIO operation

C

20

 

CC_ERROR

N/A

0

 

 

Not used with SDIO operation

C

19

 

ERROR

E R

’0’= no error

 

A general or an unknown error

C

 

 

 

 

’1’= error

 

occurred during the operation.

 

18

 

UNDERRUN

N/A

0

 

 

Not used with SDIO operation

C

17

 

OVERRUN

N/A

0

 

 

Not used with SDIO operation

C

16

 

CID/ CSD_OVERWRITE

N/A

0

 

 

Not used with SDIO operation

C

15

 

WP_ERASE_SKIP

N/A

0

 

 

Not used with SDIO operation

C

14

 

CARD_ECC_DISABLED

N/A

0

 

 

Not used with SDIO operation

C

13

 

ERASE_RESET

N/A

0

 

 

Not used with SDIO operation

C

12:9

 

CURRENT_STATE

S X

15=I/O only

 

 

For an I/O only card, the current

B

 

 

 

 

 

 

 

state shall be fixed at a value of

 

 

 

 

 

 

 

 

0x0F. This indicates that it is an I/O

 

 

 

 

 

 

 

 

only card and the normal memory

 

 

 

 

 

 

 

 

states do not apply

 

8

 

READY_FOR_DATA

N/A

0

 

 

Not used with SDIO operation

C

7:6

 

Reserved

 

 

 

 

 

 

5

 

APP_CMD

N/A

0

 

 

CMD55 not used in SDIO operation

C

4

 

Reserved

 

 

 

 

 

 

3

 

AKE_SEQ_ERROR (SD

N/A

0

 

 

Not used with SDIO operation

C

 

 

Memory Card app. spec.)

 

 

 

 

 

 

2

 

Reserved for application

specific commands

 

 

1, 0

 

Reserved for manufacturer test mode

 

 

Table 4-7 SDIO Status Register Structure

Note 1: In the SPI mode, if the card detects a CRC error, it returns a com CRC error in the R1 response immediately following the command (see Figure 3-7). In this situation, the note that the CRC error is for the previous command does not apply.

Note 2: In the SPI mode, if the card detects an Illegal Command, it returns an Illegal Command error in the R1 response immediately following the command (see Figure 3-7). In this situation, the note that the Illegal Command error is for the previous command does not apply.

20

Image 29
Contents SD Specifications Part E1 Sdio Simplified Specification Date Version Sdio Simplified Specification VersionChanges compared to previous issue Release of SD Simplified Specification Conventions Used in This Document Table of Contents SPI and SD 1-bit Mode Interrupts 16.2 Table of Tables Table of Figures General Description Sdio FeaturesPrimary Reference Document Standard Sdio FunctionsSdio Card Types Sdio Signaling DefinitionSdio Card modes Sdio Host ModesSignal connection to two 4-bit Sdio cards Signal PinsDifferences in I/O card Initialization ResetSdio Card Initialization Sdio Simplified Specification Version MEM=0 Card initialization flow in SD mode Sdio aware host Illegal Command F8=0 Card initialization flow in SPI mode Sdio aware host VDD Voltage Window Position Iosendopcond Command CMD5OCR Values for CMD5 OCR bitIosendopcond Response R4 Response R4 in SD modeRecommendations for RCA after Reset Acceptable Commands after InitializationSpecial Initialization considerations for Combo Cards Re-initialize both I/O and MemoryRe-Initialization Flow for Memory controller Re-Initialization Flow for I/O ControllerEnabling CRC in SPI Combo Card Unsupported SD Memory Commands Differences with SD Memory SpecificationSdio Command List Bus Width Reset for SdioModified R6 Response Timings Card Detect ResistorCombo Card 4-bit Control Card Detect Resistor StatesData Transfer Abort Data Transfer Block SizesChanges to SD Memory Fixed Registers Read AbortCID Register OCR RegisterCSD Register RCA RegisterBit Identifier Type Value Description Sdio Status Register StructureClear Iorwdirect Command CMD52 New I/O Read/Write CommandsIllegalcommand ComcrcerrorIorwdirect Response R5 1 CMD52 Response SD modesIdentifier Type Value Description Clear Condition DIS=DisabledCMD=DAT lines free TRN=TransferIorw Extended command Op Code Definition Iorwextended Command CMD53OP code Command operation CRC1 CMD53 Data Transfer Format Byte Count ValuesSdio Card Internal Operation Register Access TimeOverview InterruptsRead Wait Suspend/ResumeCMD52 During Data Transfer Sdio Fixed Internal MapCard Common Control Registers Cccr Common I/O Area CIAType Card Common Control Registers CccrCCCR/SDIO IOE3To abort transfers to/from memory Scsi 4BLS Transaction of function 0 CIA Empc Cccr bit DefinitionsAddress Function Basic Registers FBRFunction Basic Information Registers FBR Field TypeFBR bit and field definitions Sdio Simplified Specification Version Field TypeCard Information Structure CIS Setting Block Size with CMD53Multiple Function Sdio Cards Card Information Structure CIS and reserved area of CIAState Diagram for Bus State Machine Bus State DiagramCSA Data Format CSA AccessEmbedded I/O Code Storage Area CSA Interrupt Timing Sdio InterruptsInterrupt Clear Timing Terminated Data Transfer Interrupt CycleSdio Suspend/Resume Operation Sdio Read Wait Operation Power Control Overview Power ControlPower Control support for Sdio Cards Master Power ControlPower Selection Power Control Support for the Sdio HostHigh-Power Tuples Reference Tuples by Master Power Control and Power SelectPower Control Operation Switching Bus Speed Mode in a Combo Card High-Speed ModeSdio High-Speed Mode Sdio Physical Properties Sdio PowerSdio Simplified Specification Version Inrush Current Limiting CIS Reference Document CIS FormatsBasic Tuple Format and Tuple Chain Structure Byte Order Within TuplesSdio Card Metaformat Tuple VersionTuples Supported by Sdio Cards Code Name DescriptionSdio Specific Extensions Cistplmanfid Manufacturer Identification String TupleCistplmanfid Manufacturer Identification Tuple Cistplfuncid Function Identification TupleCistplfunce Tuple General Structure Cistplfunce Function Extension TupleCistplfunce Tuple for Function 0 common Tplfidfunction Tuple for Function 0 commonByte Cistplfunce Tuple for FunctionTplfidfunction Tuple for Function Sdio Simplified Specification Version 10 Tplfefunctioninfo Definition Tplfidfunction Field Descriptions for Functions11 Tplfecsaproperty Definition Bit Name12 Cistplsdiostd Tuple Reserved for Sdio Cards Cistplsdiostd Function is a Standard Sdio FunctionCistplsdioext Tuple Reserved for Sdio Cards 13 Cistplsdioext Tuple Reserved for Sdio CardsNormative SD and SPI Command ListTable A-14 SD Mode Command List Sdmem Sdio Table A-15 SPI Mode Command ListNormative References Appendix BAbbreviations and Terms Appendix CLOW, High Informative