cancel
Showing results for 
Search instead for 
Did you mean: 

Problem : SD card with FATFs and mdma

Kfell.1
Associate III

Hello,

I work in STM32H743, with the IDE 1.11, SD 4 wires. I followed the tutorial posted in Sep 27, 2021 about a File System on a SD card using STM32CubeIDE but nothing works I even tried to download examples provided by cubeIde but no results.

any idea?

thx

4 REPLIES 4
Imen.D
ST Employee

Hello @Kfell.1​ and welcome to the Community 🙂

Could you please describe the issue in detail?

Which example used?

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hello and thank you for your help

I used the program explained in tutorial "How to add a BSP to an STM32CubeIDE project" posted in in Sep 27, 2021and also I used the examples from the stm32h743-eval card but when I create a new project with cubemx my SD card does not work with FAT commands despite I use the same procedures as examples of ST

thks

AScha.3
Chief II

> but nothing works.

thats standard. 🙂

  1. what board ? diy ?
  2. first: set without DMA.
  3. set port pin speed to medium high.
  4. only mount - is ok ?

fresult = f_mount(&SDfs, (TCHAR const*)SDPath, 1); // SD card mount

try...

If you feel a post has answered your question, please click "Accept as Solution".

I seems a well-known issue that occur after F4 update to CubeMX6.7 from 6.6.x. You can try SDIO 1bit i.s.o. 4bit option, that might help to fix as work-around.