Visible to Intel only — GUID: bqr1481130110143
Ixiasoft
Visible to Intel only — GUID: bqr1481130110143
Ixiasoft
16.5.2.2.1.2. Determine if Card is a CE-ATA 1.1, CE-ATA 1.0, or MMC Device
Use the following sequence to determine whether the card is a CE-ATA 1.1, CE-ATA 1.0, or MMC device:
Determine whether the card is a CE-ATA v1.1 card device by attempting to select ATA mode.
- Send the SD/SDIO SEND_IF_COND command, querying byte 504 (S_CMD_SET) of the EXT_CSD register block in the external card.
If bit 4 is set to 1, the card device supports ATA mode.
- Send the SWITCH_FUNC (CMD6) command, setting the ATA bit (bit 4) of the EXT_CSD register slice 191 (CMD_SET) to 1.
This command selects ATA mode and activates the ATA command set.
-
You can verify the currently selected mode by reading it back from byte 191 of the EXT_CSD register.
-
Skip to step 5 of the Identifying the Connected Card Type section.
If the card device does not support ATA mode, it might be an MMC card or a CE-ATA v1.0 card. Proceed to the next section to determine whether the card is a CE-ATA 1.0 card device or an MMC card device.
Determine whether the card is a CE-ATA 1.0 card device or an MMC card device by sending the RW_REG command.
If a response is received and the response data contains the CE-ATA signature, the card is a CE-ATA 1.0 card device. Otherwise, the card is an MMC card device.