cancel
Showing results for 
Search instead for 
Did you mean: 

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

ledi001
Associate III

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?​

1 ACCEPTED SOLUTION

Accepted Solutions
Tilen MAJERLE
ST Employee

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.

View solution in original post

1 REPLY 1
Tilen MAJERLE
ST Employee

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.