AnsweredAssumed Answered

i.MX6 SD Card broken after continous test

Question asked by Jagan Teki on Apr 29, 2019
Latest reply on Apr 29, 2019 by igorpadykov



I have i.MX6qdl board where usdhc3 is designed for SD card slot. I'm using Linux from linux-2.6-imx.git - Freescale i.MX Linux Tree  with imx_4.1.15_1.0.0_ga tag.


On the Linux, I have a continuous /dev/urandom test followed by pattern(attached Test seems working with single iteration after that it triggers mmc errors. So when I take the card from target and plug-in to host the card seems not mountable, but able to see the partitions.


Here are the pads, I have used:

                        MX6QDL_PAD_SD3_CMD__SD3_CMD    0x17061
                        MX6QDL_PAD_SD3_CLK__SD3_CLK    0x10059
                        MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17061
                        MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17061
                        MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17061
                        MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17061


Here are the Linux frequency details.

# cat /sys/kernel/debug/mmc0/ios
clock:          50000000 Hz
actual clock:   49500000 Hz
# cat /sys/kernel/debug/mmc0/clock


Attached kernel_sd.log for boot log and mmc issues.


Any inputs please let us know.