I am trying to use fatfs with STM32L496g. Whenever i call f_mount, i am getting res = 1, (A hard error occurred in the low level disk I/O driver). I am using a discovery board for now. The sample project that comes along with it, is working fine.
I have tried debugging, and the error comes wheneverf_mkfs -> find_volume-> checkfs -> move_window -> disk_write is called.looking at it, i see the implementation in diskio.cDRESULT disk_write ( BYTE pdrv, /* Physical drive nmuber to identify the d...