cancel
Showing results for 
Search instead for 
Did you mean: 

Getting started with STM32H750VBT6, SDMMC1

JBond.1
Senior

Hi, I am trying to move to STM32H750 from STM32F407. To start with I have tried making simple LED blink project and it seems to work.Then I add SDMMC1 and suddenly it started hanging on exiting `static void MX_GPIO_Init(void)`. Any ideas why? Do I need some kind of other initialization or what could be wrong?

JBond1_0-1768410547333.png

JBond1_0-1768412271920.png

JBond1_1-1768412281422.png

 

/* Identify card operating voltage */
  errorstate = SD_PowerON(hsd);
  if (errorstate != HAL_SD_ERROR_NONE)
  {
    hsd->State = HAL_SD_STATE_READY;
    hsd->ErrorCode |= errorstate;
    return HAL_ERROR;
  }


it seems to return error here
0x10000000U
#define SDMMC_ERROR_UNSUPPORTED_FEATURE ((uint32_t)0x10000000U) /*!< Error when feature is not insupported */

what does that mean and how to fix it?

It seems that hard error gets called if no SD card is inserted...

0 REPLIES 0