imx6 Solo: MMC read hangs (Data CRC error)

cancel
Showing results for 
Search instead for 
Did you mean: 

imx6 Solo: MMC read hangs (Data CRC error)

673 Views
dalmiaprashant
Contributor II

Hello Community.

I am trying to read the kernel from the MMC card using command below:

mmc read 0x10800000 0x800 0x2000

mmc0 is current device

MMC read: dev # 0, block # 2048, count 8192 ... hangs


ON debug found data CRC error on read.


Write works perfectly OK.


I tried to read smaller chunks it reads randomly and hangs sometimes.


Could you please suggest possible problems.


With Regards,

Prashant


1 Reply

57 Views
Yuri
NXP TechSupport
NXP TechSupport

1.

If it is Your own design, please check the board regarding PCB layout recommendations
in "Hardware Development Guide for i.MX 6 ..." . In particular :

"For SD module interfaces:

– Match data and CMD trace lengths (length delta depends on bus rates)

– CLK should be longer than the longest signal in the Data/CMD group (+5 mils)

— Similar DDR rules must be followed for data, address and control as for SD module inter".

2.

Also, please try to check the memory 

“i.MX6 DDR Stress Test Tool V1.0.3”

https://community.freescale.com/docs/DOC-96412

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------