I use STM32cube Mx to configure stm32f4 discovery with SD card 4 wire as mass storage. This is the code if I don't use FATFS :
and this is the code if I use FATFS:
version 4.19.0. Sorry for my bad English .
Hi quoc.anh ,
In fact this is not a bug,when using the FatFs file system middleware ,the HAL SD initialization is called on the BSP_SD_Init function on bsp_driver_sd.c file.
Please refer to this example,about how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module, in order to develop anapplication exploiting FatFs offered features with microSD drive configuration:
Retrieving data ...