I'm working on designing an i.MX6UL custom board to which i'm using eMMC (in SD2 interfacing port) as boot device and trying to use uSD card in SD1 interface as a separate storage device. The board is working fine but i'm unable to get uSD card worked.
Need help on what I should do to get it worked.
Following image is the schematic of the sd interface. BT_CFG1_5 & BT_CFG2_3 pins shown in schematic can be ignored as they are not in use. J6 is the uSD Card holder.
Regards
Punit Kumar
Hi Punit
this may be caused by card detection, like "cd-gpios" in imx6ul-14x14-evk.dts
please check available options in sect.32.3.3 Devicetree Binding attached Linux
Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov
I've changed the cd-gpio pin configuration in mfgtool dts and my yocto dts to always pull-down using iomux configuration and the image is successfully downloaded using mfgtool but when I tried internal boot, nothing happened.
I think the board detects uSD card in serial download mode because of the changes made in mfgtool dts configured the CD pin pulled-down but while booting from sd card, the dts doesn't come into picture to configure pin and that's why card is not working.
The problem in giving and external CD signal is that the pin used is not routed out in pcb.
Is there any way out in?
Regards
Punit Kumar
Hi Punit
is it working in uboot, please check
https://community.nxp.com/thread/380527
Best regards
igor
Hi Igor
Thanks for instant response.
The board is not booting at all and nothing coming on the terminal.
Regards
Punit Kumar
Hi Punit
is it booting from other media, had you run ddr test
https://community.freescale.com/docs/DOC-105652
Best regards
igor
Hi igor
eMMC in uSDHC2 port is working fine. I am trying to run the os from uSD card in uSDHC1 port as well.
Regards
Punit Kumar
Hi Punit
please check uSDHC1 signals with oscilloscope,
Best regards
igor
Hi
Thanks igorpadykov
I've forced assert the CD input by configuring it as a pull down internally as I've not connected it to my uSD card holder, I think it's okey with it.
Now there is a message appearing in console "error -110 whilst initializing sdcard".
Now, what should I do?
regards
Punit Kumar