Using FatFS R0.12c with STM32CubeMX
Posted on June 08, 2018 at 03:47
I followed in the instruction
https://community.st.com/s/feed/0D50X00009bMM8bSAG
, 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?
#stm32cube-fw_f4-v1.21.0 #stm32cube-programmer #freertos+fat #sdio-sd-driver-dma-interrupts
