Skip to main content
damien2399
Associate II
January 9, 2012
Question

STM32F2XX + SDIO + FatFs problem

  • January 9, 2012
  • 31 replies
  • 6168 views
Posted on January 09, 2012 at 10:38

Hi,

I've a problem with my STM32. I need to use fat filesystem on SD card to read/write/create files.

I tried to use Chan FatFs module but it didn't working at all ...

I use SD card in SDIO and 4 wires mode.

When I debug, check_fs() function can't retrieve 0x55 0xAA on boot sector, but, when I read sector n�0 in the main(), I can correctly read all datas on boot sector.

If someone can help me with this problem ...

Thanks.

#sdio-fatfs #sdio-chan-fatfs
This topic has been closed for replies.

31 replies

AFink
Associate III
October 1, 2023

Hi @Cesar cfg ,

Though long time since you posted...

I'm facing the same problem when dealing with F103 MCU. Can you please share the changes you made in file diskio.c (disk functions)?

 

Thanks,

Aviv