Have you enabled DMA for fatfs? If so, some comments need to be cancelled in sd_diskio.c./* USER CODE BEGIN enableSDDmaCacheMaintenance */#define ENABLE_SD_DMA_CACHE_MAINTENANCE 1/* USER CODE END enableSDDmaCacheMaintenance *//* USER CODE BEGIN enabl...