2025-07-20 4:34 AM
Hi all,
I have a strange issue that I can't wrap my head around.
I have an eMMC chip connected to a STM32U5G9
The .IOC file is all standard:
with the clock config as follows:
However, when I start a debugging session I get stuck in the init function like so:
It looks almost like the sysTick is not being updated at this point so the whole init just stalls.
If I comment-out the MX_SDMMC1_MMC_Init() the whole system runs as intended (having a touchGFX application that boots right after the inits)
I am running FreeRTOS right now where I think the whole thing should move to ThreadX but the init function should still function as intended, right? For now I am fine with just verifying if the eMMC can initialize.
This is my first time setting up an eMMC so I might have overlooked something basic. Anyone out there with some good insights on this?