Skip to main content
Dick Lin
Senior
Aug 23, 2018 4:29 PM UTC
Question

ST-LINK Issue - Target unknown error 5010512

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
    Aug 23, 2018 6:07 PM UTC

    >>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
    Aug 23, 2018 6:35 PM UTC

    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
    Aug 24, 2018 1:49 PM UTC

    Hi @Dick Lin​ ,

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

    Khouloud.