Skip to main content
Charlie CHEN
Associate III
November 15, 2019
Question

eMMC on STM32H743 always Disk Error

  • November 15, 2019
  • 3 replies
  • 2379 views

Hi,

 

Like old topic says : https://community.st.com/s/question/0D50X0000BbNEpXSQW/fatfs-emmc-always-frdiskerror?t=1573783271738

 

I`m trying to build project for STM32H743 with STM32CubeMX, and use eMMC for my storage space.

eMMC : Micron 4GB

Manager File : FATFS

This is the (Left)CSD Register it retured & (Right)the Micron datasheet

And I have no ideal about

MaxRdCurrentVddMin,

MaxRdCurrentVddMax,

MaxWrCurrentVddMin,

MaxWrCurrentVddMax, are all zero,but the true value is not.

0690X00000As3uPQAR.png

Can anyone help?

I`ll really appreciate.

This topic has been closed for replies.

3 replies

schumilop
Associate
July 11, 2021

Hi, were you able to solve this? I am getting the same error when I try to use an SD card with STM32H7

Haithem Rahmani
ST Employee
July 15, 2021

Hi @schumilop​ 

Getting the same error doesn't mean the same root cause.

since you are using the SD card, you may check one of the reference apps provided within the CubeFW package.

for example this one:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H743I-EVAL/Applications/FatFs/FatFs_uSD_DMA_Standalone

Haithem Rahmani
ST Employee
July 15, 2021

Hi @Charlie CHEN​

Could you try to use the Polling API instead of the DMA one to discard any potential issue related to cachee maintenance?

regards

haithem.