cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F2XX + SDIO + FatFs problem

damien2399
Associate II
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
31 REPLIES 31
aambreen
Associate II
Posted on December 31, 2012 at 09:12

which problem? using fatfs with SDIO?

AFink
Associate III

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