cancel
Showing results for 
Search instead for 
Did you mean: 

Is This The Bug of STM32CubeMX

hukhongcongtu26111993
Associate II
Posted on February 20, 2017 at 10:02

 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 : 

0690X00000606LPQAY.png

and this is the code if I use FATFS:      

                                       0690X00000606IQQAY.png

version 4.19.0. Sorry for my bad English  . 

1 REPLY 1
Nesrine M_O
Lead II
Posted on February 20, 2017 at 14:52

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-