I work with STM32F103C8T6 and add FATFS and SPI in project. I test project with 8 GB SanDisk microSD but I have FR_NO_FILESYSTEM in f_open function. I change MicroSD and test with 1 GB SanDisk microSD and have this error again. I format SD card but the problem could not be solved. My error is in: f_open func -> Find_Volume func
if (fs->fsize < (szbfat + (SS(fs) - 1)) / SS(fs)) /* (BPB_FATSz must not be less than needed) */
return FR_NO_FILESYSTEM;
I get help from below sites: