In reading SD card, CMD18 returns communication error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

In reading SD card, CMD18 returns communication error

2,727 次查看
heill2england
Contributor II

Hi community,

 

I am trying to customize U-boot for my custom i.MX 6SoloX board, with using a Yocto-Linux(4.14.98).

I have a i.MX 6SoloX SABRE board, I will porting the U-boot after confirming on the board.

 

The boot process loads the environment data from SDHC4.

At the data loading, CMD17(Read one SD card block) returns OK, but CMD18(Read multiple SD card block) returns error code.

The error code is ECOMM, it is "Communication error on send".

I checked source code, and dumped logs, I found that "Data End Bit Error" and " Data CRC Error " occurred at reading the register of Interrupt Status (uSDHC4_INT_STATUS) in CMD18.

 

Do you have any idea of that cause?

How should I debug?

Thank you.

标签 (4)
0 项奖励
回复
2 回复数

2,608 次查看
heill2england
Contributor II

Hi igor

Thank you for your information.

I tried low speed uSD card, and configured SD Speed by BOOT_CFG1-SW on my board .

it works well.

0 项奖励
回复

2,608 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Takashi

issue may be related to sd signal integrity issues, one can try solutions described on

eMMC 8GB to 4GB - crash on linux (yocto) boot 

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