Skip to main content
hochul yoo
Associate III
August 31, 2022
Solved

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

  • August 31, 2022
  • 3 replies
  • 2246 views

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

This topic has been closed for replies.
Best answer by PatrickF

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'

3 replies

PatrickF
PatrickFBest answer
ST Employee
August 31, 2022

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 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
hochul yoo
Associate III
September 8, 2022

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. 

hochul yoo
Associate III
September 8, 2022

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.