I had the same problem,this is my soultionvoid MX_SDMMC1_SD_Init(void){hsd1.Instance = SDMMC1;hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_RISING;hsd1.Init.ClockPowerSave = SDMMC_CLOCK_POWER_SAVE_DISABLE;hsd1.Init.BusWide = SDMMC_BUS_WIDE_4B;hsd1.Init.Hard...