Question
f_write is returning with disc error
Hi,
#FatFS #SDIO #STM32CubeIDE
In STM32CubeIDE f_open and f_read is returning with FR_OK value. but when I used f_write with some data I am seeing that the return value is DISK_ERR. In this case file is not at all getting created in the SD card.
While looking into further, I am seeing some DCRC error flag is set due to this I am seeing DISK_ER.
Can anyone help with this?
Regards,
Suresh.