2024-07-08 10:13 PM - last edited on 2024-07-09 1:05 AM by mƎALLEm
Hi
i am using STM32H753z, now i am trying to access SD card but i getting some error in stm32h7xx_hal_sd.c file of static uint32_t SD_PowerON(SD_HandleTypeDef *hsd) API,s in this
/* SEND CMD55 APP_CMD with RCA as 0 */
errorstate = SDMMC_CmdAppCommand(hsd->Instance, 0); (errorstate is 4(return))
if (errorstate != HAL_SD_ERROR_NONE)
{
return HAL_SD_ERROR_UNSUPPORTED_FEATURE;
}
it return in HAL_SD_ERROR_UNSUPPORTED_FEATURE is any region to this, if i need to use old SD card is process?
Solved! Go to Solution.
2024-07-17 3:44 AM
Hello @Naresh_ ,
Please consider compiling your code with varying optimization levels to determine if the issue persists. In some cases, aggressive optimization can result in unexpected behavior.
BRs,
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.