2017-02-20 01:02 AM
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 .
2017-02-20 05:52 AM
Hi
quoc.anh
,In fact this is not a bug,when using the
FatFs file system middleware
,theHAL SD initialization iscalled on theBSP_SD_Init function onbsp_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:
STM32Cube_FW_F4_V1.0\Projects\STM32469I-Discovery\Applications\FatFs\FatFs_uSD
-Nesrine-