STM32H725 SD Card errors after debug suspend
While debugging, program execution after (or during) sd card initialization causes the SDMMC module to return errors while executing commands for subsequent calls.
STM32CubeIDE v1.10.0, Build 12671_20220627_1643
Debugging with STLINK-V3MINIE
Using the auto generated code
-SDMMC2, 4 bits wide bus, rising edge clock, hardware flow control, no external transceiver, clock divide factor 4 (25 MHz)
-FatFs file system also through the auto-generated code
I can init, mount, read/write successfully.
However, any breakpoint, anywhere following the initialization of the SDMMC module causes subsequent commands to fail with error code 4 (CMD_RSP_TIMEOUT). Including during the initial connection to the SD card.
Potentially useful information
The SD clock continues at the same frequency during the breakpoint (though i don't know if there's a momentary interruption).
The debugging interface through cubeIDE seems to read all the SFR on a break, are there any side effects to reading out the registers in this way?