I am using an imx6solo and an emmc at usdhc4, below are my initialise script, somehow the i cannot detect the emmc that attached in the system.
anyone can help?
mem write 0x20E0338 0x0 ;IOMUXC_SW_MUX_CTL_PAD_SD4_CLK ;select sd4_clk,
mem write 0x20E0720 0x17059
mem write 0x20E033C 0x10; IOMUXC_SW_MUX_CTL_PAD_SD4_CMD; select sd4_cmd,
mem write 0x20E0724 0x17059
mem write 0x20E0340 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA0; select sd4_data0,
mem write 0x20E0728 0x17059
mem write 0x20E0344 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA1; select sd4_data1,
mem write 0x20E072C 0x17059
mem write 0x20E0348 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA2; select sd4_data2,
mem write 0x20E0730 0x17059
mem write 0x20E034C 0x1 ;IOMUXC_SW_MUX_CTL_PAD_SD4_DATA3; select sd4_data3,
mem write 0x20E0734 0x17059
mem write 0x20E0350 0x1 ;sd4
mem write 0x20E0738 0x17059
mem write 0x20E035C 0x01 ; sd7
mem write 0x20E0744 0x17059
mem write 0x20E0354 0x01 ;sd5
mem write 0x20E073C 0x17059
mem write 0x20E0358 0x01 ;sd6
mem write 0x20E0740 0x17059
mem write 0x20E0278 0x01 ;NANDF_CS1, sd4_vselect
mem write 0x20E0660 0x171C1
mem write 0x20E026C 0x01 ;NANDF_ALE , sd4 reset
mem write 0x20E0654 0x171C1
Hi
first please verify that sion bid is set for emmc iomux settings, then
please use Manufacturing Tool for programming emmc:
Programmers (Flash, etc.) (9)
IMX6_L3.14.52_MFG_TOOL (REV L3.14.52_1.1.0)
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------