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:
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?