But you said that you reset the MCU after it has been flashed, and debugging after that is not possible.
Little misunderstanding because of my wording. What I meant was:
After Debug_Flash the problem still exists. What I do know is that at least part of the debug session worked. Why? Because after I reset microcontroller, it starts executing the program I flashed in Debug_Flash. I cannot connect to the microcontroller after resetting too.
Do you attach the debugger back to the MCU after the reset?
After using the configuration you suggested and connecting to the MCU after the reset I get following informations:


When I suspend the debug session, it always shows this line of code:

Which is located in startup_cm7.s
Was the HSE_FW installed on the MCU?
It was not. I only tested the functionality of basic peripherials on this board.
Kind Regards,
Aleksander