cancel
Showing results for 
Search instead for 
Did you mean: 

nucleo's stlink not working while mcu sleeps

carleslsregner
Associate III

Greetings, 

I know how to solve it , but I do want to reseach on this issue. I use a nucleo's stlink (nucleo F070RB) to program a stm32g030k8tx. 

However, the target is only detected and, therefore programmed, when the external mcu is not on standby mode. 

Could it be becasue I do not use the NRST on the SWD? I just use Software Reset, instead. 

 

Thanks. 

 

 

1 REPLY 1
Peter BENSCH
ST Employee

If the target is in sleep mode, it can only be brought out of this state by resetting it. Therefore, NRST must be connected and the debugger must be set to ‘Connect under Reset’.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.