Skip to main content
Associate II
April 16, 2024
Solved

Use SD Card/ FATFS

  • April 16, 2024
  • 8 replies
  • 2557 views
Good morning,
I am looking to write data in csv format to my SD card with an SD shield. So I activate the SDMMC1 port and the FATFS driver for my SDMMC1 port, when I generate I then have 300 errors on my HAL header. Do you have any idea what the problem is, and how to solve it, please? THANKS.

Best regards,   

MickaelRacloz_1-1713253202127.pngMickaelRacloz_2-1713253226959.png

MickaelRacloz_3-1713253309413.png

 

This topic has been closed for replies.
Best answer by Mickael Racloz

I found the cause of the problem but I don't understand it very well. Before configuring the IOC for my SD, I created two files: a header and a source to manage my recordings I called them SD.h and SD.c, deleting these files no more problems...

I would like to thank you for your support and the speed of your responses.
Best wishes,

8 replies

mƎALLEm
ST Technical Moderator
April 16, 2024

Hello,

Could you please attach your ioc file?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate II
April 16, 2024

Thanks for the help.

Attached the ioc file.

mƎALLEm
ST Technical Moderator
April 16, 2024

Hello,

Thank you for the sharing,

I didn't reproduce the issue. Attached the project I've generated.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.