Skip to main content
Dick Lin
Senior
August 23, 2018
Question

ST-LINK Issue - Target unknown error 5010512

  • August 23, 2018
  • 3 replies
  • 860 views

Hi,

I am seeing the issue since yesterday for unable connect to target. Here is the message from TrueSTUDIO. Unable to connect using STM32 ST-LINK Utility as well.

I am guessing the ST-LINK device burned. We are using tag-connect TC2050 adapter and connector. My question is what might burn ST-LINK? How to know if the ST-LINK device is mal-function?

Thx

http://www.tag-connect.com/Materials/TC2050-ARM2010.pdf

Atollic TrueSTUDIO gdbserver for ST-Link. Version 4.2.2 (WIN32 2018-02-26 16:20:21 15675)

Copyright (c) 2018, STMicroelectronics. All rights reserved.

Starting server with the following options: 

    Persistant Mode      : Disabled 

    LogFile Name        : debug_log.txt

    Logging Level       : 1

    Listen Port Number     : 61234

    Status Refresh Delay    : 15s

    Verbose Mode        : Disabled 

    SWD Debug         : Enabled 

Target unknown error 5010512

Error in initializing ST-Link device.

Reason: Unknown. Please check power and cabling to target.

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    August 23, 2018

    >>How to know if the ST-LINK device is mal-function?

    Test it on a working target? Have two so you can compare/contrast?

    >>My question is what might burn ST-LINK? 

    The buffers, regulators or STM32F1

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Dick Lin
    Dick LinAuthor
    Senior
    August 23, 2018

    Found it, the VAPP (target VCC) on the JTAGE 20-pin connector is not right. Issue is on our board. Thx

    Khouloud GARSI
    ST Employee
    August 24, 2018

    Hi @Dick Lin​ ,

    Thanks a lot for sharing the solution. For sure, this will be helpful for other users facing the same issue.

    Khouloud.