Skip to main content
Kfell.1
Associate II
January 17, 2023
Question

Problem : SD card with FATFs and mdma

  • January 17, 2023
  • 4 replies
  • 1670 views

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

This topic has been closed for replies.

4 replies

ST Technical Moderator
January 24, 2023

Hello @Kfell.1​ and welcome to the Community :)

Could you please describe the issue in detail?

Which example used?

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Kfell.1
Kfell.1Author
Associate II
January 26, 2023

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

JZHAN.6
Visitor II
January 28, 2023

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.

AScha.3
Super User
January 27, 2023

> 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 on " Best Answer ".