AnsweredAssumed Answered

Using FatFS R0.12c with STM32CubeMX

Question asked by o_tech on Jun 8, 2018
Latest reply on Jun 8, 2018 by o_tech

I followed in the instruction WA proposal When using FatFS R0.12c with STM32CubeMX , but it doesn't work for me.  I am using the SD card with FreeRTOS with the DMA configured. Code is generated with STM32CubeMX. I am using STM32Cube FW_F4 V1.21.0, STM32F446 microcontroller. FATFS version R.12c.

 

BSP_SD_ReadCpltCallback() and BSP_SD_WriteCpltCallback() are not getting called.  

 

if i move BSP_SD_Init() and put it before MX_FATFS_Init(), BSP_SD_ReadCpltCallback() will get called once, and  f_mount() will still return a disk error.

 

please note: my configuration worked on older build of the STM32CubeMX.

 

any ideas?

Outcomes