EMMC INIT fail

cancel
Showing results for 
Search instead for 
Did you mean: 

EMMC INIT fail

189 Views
ericyeoh
Contributor I


hi guys,

I cann't get my EMMC online.

below are my init for using usdhc4, emmc

mem write 0x20E0338 0x0 ;IOMUXC_SW_MUX_CTL_PAD_SD4_CLK  ;select sd4_clk, disable input path

mem write 0x20E0720 0x17059

mem write 0x20E033C 0x10; IOMUXC_SW_MUX_CTL_PAD_SD4_CMD; select sd4_cmd, enable sd4_cmd              

mem write 0x20E0724 0x17059           

mem write 0x20E0340 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA0; select  sd4_data0, disable input path          

mem write 0x20E0728 0x17059

mem write 0x20E0344 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA1; select sd4_data1, disable input path                 

mem write 0x20E072C 0x17059               

mem write 0x20E0348 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA2; select sd4_data2, disable input path                

mem write 0x20E0730 0x17059             

mem write 0x20E034C 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA3; select sd4_data3, disable input path                

mem write 0x20E0734 0x17059

mem write 0x20E0350 0x1     ;sd4

mem write 0x20E0738 0x17059

mem write 0x20E0354 0x01    ;sd5

mem write 0x20E073C 0x17059

mem write 0x20E0358 0x01    ;sd6

mem write 0x20E0740 0x17059

mem write 0x20E035C 0x01    ; sd7

mem write 0x20E0744 0x17059

mem write 0x20E0278 0x01    ;NANDF_CS1, sd4_vselect

mem write 0x20E0660 0x171C1

mem write 0x20E026C 0x01    ;NANDF_ALE , sd4 reset

mem write 0x20E0654 0x171C

Labels (3)
0 Kudos
1 Reply

75 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Eric,

     Could you tell me which CPU and BSP version you are using?

Regards,

Weidong

0 Kudos