How to reset cpu after ending debug session with st-link?
I am facing a problem after I finish the debug session. Once I try to reset the cpu via the reset button or manually resetting the CPU via the ST-Link Utility the program does not start. The only way to start the program again is to click agian the debug option which reuploads the firmware to the MCU (STM32L431KB) and starts the gdb server via st-link.
Further information
When using the ST-Link utility and go to the Target>MCU Core.. option., I click the "System Reset" and the "Core State" is displayed as "Lockup".
Debug Setup
ST-LINK FW : V2J36M26
Connect mode: Under Reset
Reset mode : Hardware reset
STM32CubeProgrammer v2.4.0
GDB server. Version 5.5.0
