cancel
Showing results for 
Search instead for 
Did you mean: 

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

ABen .1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

7 REPLIES 7

Hello @ABen .1​ ,

Welcome to our ST Community 🙂

Can you please provide the version of the package used?

Thanks in advance.

BeST Regards,

Walid

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
ABen .1
Associate II

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!

Sure.

STM32Cube_FW_H7_V1.9.0

Thanks

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

Is this issue fixed or still existing ?

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

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