AnsweredAssumed Answered

STM32 Shutting down debug session

Question asked by Fede Rico on Jun 21, 2016
Latest reply on Jun 24, 2016 by Fede Rico

I'm facing with a problem regarding debug session.

When I start debug session, after the configuration of USART2 the debug session is closed.

Keil message:

Cannot access target. Shutting down debug session

The shutdown occur with this instruction:

This is my configuration:

  • STM32F103
  • IDE Keil
  • Keil project created with STM32Cube MX
  • Debug Serial Wire with SWCLK, SWDIO, NRST.
  • UART2 only TX and RX

Without debug the board works well, but I need the debug to solve some bug.