cancel
Showing results for 
Search instead for 
Did you mean: 

SD Card not mounted and returns FR_DISK_ERR when put in a FREERTOS task.

Tee
Associate II

I am using STM32H7, FatFS, FreeRTOS to write/read from an SD Card (SDMMC), it was working fine before I implemented FreeRTOS but after I did , it started returning this error when mounting the SD Card.

Attached is my code and initialization related to the SD Card.

1 REPLY 1

Hello @Tee​ ,

You can refer to the following example provided under our H7 Firmware Package:

  • Projects\STM32H743I-EVAL\Applications\FatFs\FatFs_uSD_DMA_RTOS

This might help you.

BeST Regards,

Walid