Nucleo-H745 / CubeIDE: Application doesn't run while debugger is connected
When running my application from the debug session for CM7 (CPU1), the CM4 (CPU2) isn't detected as being in "Stop Mode", which leads to a timeout and therefore an error detection.
If the debug session is stopped, the application runs as expected after a reset.
When launching debug for CM7, then for CM4:
- step-by-step debugging on CM4 can lead to a successful application run
- direct start from main's breakpoint can lead to the address 0xa05f0000
I'm using the code generated by CubeMX (Board Selector with H7 package v1.6.0), an out-of-the-box NucleoH745ZI, and debug configurations were made by following the AN536.
Does this ring some bells?