cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1) Occasionally eMMC boot fail with "CMD13 failed after 5 retries"

hochul yoo
Associate III

Hi all ~

I have STM32MP157C custom board.

My custom board boot over eMMC.

Occasionally, my board can not boot over eMMC with error message like below.

Can I get some advice regarding this problem?

Hardware of eMMC part is the same as EV1 board.

​Thanks for your support.

NOTICE:  CPU: STM32MP157CAA Rev.Z
NOTICE:  Model: STMicroelectronics custom STM32CubeMX board - openstlinux-5.10-dunfell-mp1-21-11-17
INFO:    Reset reason (0x15):
INFO:      Power-on Reset (rst_por)
INFO:    PMIC version = 0x21
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000
INFO:    FCONF: Reading firmware configuration information for: stm32mp_io
INFO:    Using EMMC
INFO:      Instance 2
INFO:    Boot used partition fsbl1
ERROR:   CMD13 failed after 5 retries
ERROR:   SDMMC2 init failed
PANIC at PC : 0x2ffea11b
 
Exception mode=0x00000016 at: 0x2ffea11b

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @hochul yoo​ ,

Seems similar issue has been fixed using a patch.

see https://community.st.com/s/question/0D53W00001GNrpOSAT

Regards,

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
PatrickF
ST Employee

Hi @hochul yoo​ ,

Seems similar issue has been fixed using a patch.

see https://community.st.com/s/question/0D53W00001GNrpOSAT

Regards,

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
hochul yoo
Associate III

Hello Patrick ~

I got a diff file from link you provided and applied it my system.

it's working fine now. 

thank you for your answer. 

Hello Patrick ~

I got a diff file from link you provided and applied it my system.

it's working fine now. 

thank you for your answer.