cancel
Showing results for 
Search instead for 
Did you mean: 

Error in initializing ST-LINK device. Reason: Failed to reset target.

Paul.Lee
Associate III

Hi.
I made 3~4 F401RTCU boards and have no problem.
But, last board cannot use STM32CUBEIDE debug mode.

Target reset error is occurred.
I can program hex to this board by st-link utility but stm32cubeide cannot debug this board.
This error comes from H/W problem?
Reset circuit looks no problem, I use normal reset circuit. R/C circuit.
Please help me.

PaulLee_0-1700013288142.png

 



1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

My H/W has problem in R/C reset circuit.
R is 10R, instead of 10K.
Problem has been solved.
BR
Paul

View solution in original post

7 REPLIES 7
Peter BENSCH
ST Employee

Can you please show us a photo of your ST-LINK?

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.

Hi,

I attached my st-link
With this, I can do debug other F401 board now.

But, for last board, I cannot.

20231115_164730153.jpg

 

This is error log

PaulLee_0-1700121976239.png

 

Peter BENSCH
ST Employee

Please upgrade STM32CubeIDE 1.11.2 and STM32CubeProg to the latest version. It would also make sense to update the firmware on the ST-LINK/V2, which you can do from the CubeProg, alternatively via the CubeIDE.

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.

Hi,

I update the STM32CubeProg, but same error.
What point do I have to check, H/W?

PaulLee_0-1700180683002.png

 

Hi,

My H/W has problem in R/C reset circuit.
R is 10R, instead of 10K.
Problem has been solved.
BR
Paul

Peter BENSCH
ST Employee

Thank you for letting us know!

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.