Skip to main content
Visitor II
November 4, 2021
Question

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

  • November 4, 2021
  • 1 reply
  • 1060 views

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.

    This topic has been closed for replies.

    1 reply

    Visitor II
    January 14, 2022

    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