cancel
Showing results for 
Search instead for 
Did you mean: 

Facing an issue with SDMMC on STM32H753

Naresh_
Associate III

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?

 

 



10 REPLIES 10

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,

Please close this topic by clicking on “Accept as solution" button if it fully answered your question.