Skip to main content
Paul.Lee
Associate III
November 15, 2023
Solved

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

  • November 15, 2023
  • 7 replies
  • 4750 views

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

 



    This topic has been closed for replies.
    Best answer by Paul.Lee

    Hi,

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

    7 replies

    Peter BENSCH
    ST Technical Moderator
    November 15, 2023

    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.
    Paul.Lee
    Paul.LeeAuthor
    Associate III
    November 15, 2023

    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

    Peter BENSCH
    ST Technical Moderator
    November 16, 2023

    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.
    Paul.Lee
    Paul.LeeAuthor
    Associate III
    November 17, 2023

    Hi,

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

    PaulLee_0-1700180683002.png

     

    Paul.Lee
    Paul.LeeAuthorBest answer
    Associate III
    November 17, 2023

    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 Technical Moderator
    November 17, 2023

    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.