Question
STM32f4 discorvery, fatfs, SD card problem
Posted on March 29, 2018 at 15:54
Hi all,
I'm working on getting a discovery board working with an SD card. I'm using CubeMx v4.25.0 with package v1.21.0.
Hardware connection is validated and is correct.
I run into a problem when I try to open a file. A
FR_DISK_ERR error is returned.
The error looks like the problem mentioned in:
https://community.st.com/0D50X00009XkX55SAF
The error seems to come from this line:
if (disk_read(fs->drv, fs->win.d8, sector, 1) != RES_OK) in ff.c
Possible fixes mentioned in the linked post do not work.
Any clues about this?
#fatfs #sd-card #stm32f4-discovery #sdio