eMMC Card Initialize

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2022-09-15
Revision
2.3 English
Table 26-23:      eMMC Card Initialize

Task

SD{0, 1}
Registers

Register Field

Register Offset

Bits

Value

Check the present state register to make sure the card is present.

reg_presentstate

sdhccarddet_inserted_dsync

0x24

16

Read

74 clock delay after card is powered up, before the first command.

Send CMD0 to card with no response expected (see Table: SD CMD Transfer).

Send CMD1 while card is still busy with power up (perform the following two steps).

Send command (CMD1) with options to host high-capacity support and high-voltage window (see Table: SD CMD Transfer).

Read response 0.

reg_response0

command_response

0x10

15:0

Read

Send CMD2 for CARD ID (see Table: SD CMD Transfer).

Send CMD3. Save relative card address in response 0.

Read card specific data in response.

reg_response0

command_response

0x10

15:0

Read

Read card specific data in response.

reg_response1

command_response

0x12

15:0

Read

Read card specific data in response.

reg_response2

command_response

0x14

15:0

Read

Read card specific data in response.

reg_response3

command_response

0x16

15:0

Read

Send CMD9 with relative card address saved in CMD3 response.

Read card specific data in response.

reg_response0

command_response

0x10

15:0

Read

Read card specific data in response.

reg_response1

command_response

0x12

15:0

Read

Read card specific data in response.

reg_response2

command_response

0x14

15:0

Read

Read card specific data in response.

reg_response3

command_response

0x16

15:0

Read