Skip to main content
ledi001
Associate III
October 1, 2019
Solved

How to debug a STM32 Controller with ST-Link V2 in sleep mode?

  • October 1, 2019
  • 1 reply
  • 1391 views

Hi,

i am using a STM32L010K8 Controller with Atollic TrueStudio and ST-Link V2. When the Controller enters the sleep mode (stop mode), the connection to St-Link V2 with the target lost.

Is there a possibility to stay in debug mode during the controller is in sleep mode?​

This topic has been closed for replies.
Best answer by Tilen MAJERLE

It is possible. Take a look at product reference manual, RM0451, section 24, register section 24.9.3. Set bit to allow debugging in STOP mode.

Tilen.

1 reply

Tilen MAJERLE
Tilen MAJERLEBest answer
ST Employee
October 1, 2019

It is possible. Take a look at product reference manual, RM0451, section 24, register section 24.9.3. Set bit to allow debugging in STOP mode.

Tilen.