I'm facing with a problem regarding debug session.
When I start debug session, after the configuration of USART2 the debug session is closed.
Cannot access target. Shutting down debug session
The shutdown occur with this instruction:
This is my configuration:
- IDE Keil
- Keil project created with STM32Cube MX
- Debug Serial Wire with SWCLK, SWDIO, NRST.
Without debug the board works well, but I need the debug to solve some bug.