Skip to main content
ABen .1
Associate
June 8, 2021
Solved

STM32H745 Disco example with eMMC + FatFs not working (FR_DISK_ERR).

  • June 8, 2021
  • 4 replies
  • 2009 views

Hi,

I try to run "FatFs_Shared_Device" example which supposed to demonstrate FatFs and eMMC.

I keep getting FR_DISK_ERR.

Has anyone ever encountered this issue?

I understood it supposed to work without any modification to the example.

Thanks guys

This topic has been closed for replies.
Best answer by Walid ZRELLI

Hello @ABen .1​ ,

Your issue has been confirmed and tracked internally for resolution. I will keep you posted on updates.

Alternatively, As a workaround for the faced issue you can use the attached HAL SDMMC driver files to replace the ones in your package.

Thanks for your contribution.

BeST Regards,

Walid

4 replies

Walid ZRELLI
Visitor II
June 9, 2021

Hello @ABen .1​ ,

Welcome to our ST Community :)

Can you please provide the version of the package used?

Thanks in advance.

BeST Regards,

Walid

ABen .1
ABen .1Author
Associate
June 9, 2021

Sure.

STM32Cube_FW_H7_V1.9.0

Thanks

Tesla DeLorean
Guru
June 9, 2021

I've had the examples working in the past. ​The eMMC needs formatting as I recall, but that would give a different error.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Visitor II
August 22, 2023

Do you have the example code for stm32f4 with eMMC(iNAND 7250 SD) in 4-bits? 

ABen .1
ABen .1Author
Associate
June 9, 2021

Yeah you are right, the eMMC need to be formatted. I get the error "FR_DISK_ERR" when I try to create a partition using "f_mkfs". I also tried to "f_mount" but getting the same error.

The board is new and the example downloaded from STM32CubeMX.

Did this exact example work for you @Community member​ ?

Thanks!

Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
June 9, 2021

Hello @ABen .1​ ,

Your issue has been confirmed and tracked internally for resolution. I will keep you posted on updates.

Alternatively, As a workaround for the faced issue you can use the attached HAL SDMMC driver files to replace the ones in your package.

Thanks for your contribution.

BeST Regards,

Walid

NSeba
Associate II
July 8, 2022

Is this issue fixed or still existing ?

I have ordered 1 unit of the STM32H745I-DISCO and my application include FreeRTOS and FATfs