Can not execute f_open
I have connected microsd by SDIo to STM4Disc1 board. I am using SD 4 bit.
I see on STM forums there is a bug and needs to set 1bit in MX_SDIO_SD_Init
so I changed to hsd.Init.BusWide = SDIO_BUS_WIDE_1B and reduce SDIO CLK by 192 factor.
I am able to execute FATFS_LinkDriver, f_mount & f_mks function runs successfully but f_open function always fails...
I tried to create new file using f_open function.
f_open(&MyFile, "TESTING.TXT", FA_CREATE_ALWAYS | FA_WRITE )
I also tried to open already exiting file but it also fails.
f_open(&MyFile, "test123.txt", FA_READ)
On seeing FRSEULT , I see FR_NOFILESYSTEM
