Skip to main content
TTa.1
Visitor II
June 16, 2021
Question

sdcard not working in freertos when using with sdio

  • June 16, 2021
  • 1 reply
  • 1317 views

Hi all, I have had some problems when working with sdcard (using sdio) in freertos. I use dev kit STM32-E407 Olimex ( it support sdcard slot on board, I use sd card 16GB). when I read sdcard without using freertos, It's working. But when I using freetos, f_open return FR_NOT_READY (I read sd card outside thread). Please explain me what's reason and I can read sdcard (using sdio) outside thread when using freertos ? Below are some configures in my projects.

This topic has been closed for replies.

1 reply

Walid ZRELLI
Visitor II
July 13, 2021

Hello @TTa.1​ ,

Take a look at the following example provided under our F4 Firmware Package (path: Projects\STM32F413H-Discovery\Applications\FatFs\FatFs_uSD_RTOS)

Use it as inspiration. It may help you.

BeST Regards,

Walid