Skip to main content
hukhongcongtu26111993
Associate III
February 20, 2017
Question

Is This The Bug of STM32CubeMX

  • February 20, 2017
  • 1 reply
  • 568 views
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  . 

    This topic has been closed for replies.

    1 reply

    Nesrine M_O
    Associate
    February 20, 2017
    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-