cancel
Showing results for 
Search instead for 
Did you mean: 

Debug problem with ST-Link V2

IGhao
Associate II

Hello ,

I'm trying to load my project using Atollic TrueStudio V9.2.0 with the ST-Link V2-1 debugger of the nucleo-64. I get this error :

STMicroelectronics ST-LINK GDB server. Version 5.1.0

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

Starting server with the following options:

       Persistent Mode           : Disabled

       LogFile Name               : C:\Atollic\My_Project\Debug\st-link_gdbserver_log.txt

       Logging Level              : 31

       Listen Port Number     : 61234

       Status Refresh Delay    : 15s

       Verbose Mode               : Enabled

       SWD Debug                  : Enabled

Device connect error

Error in initializing ST-LINK device.

Reason: Failed to connect to device. Please check power and cabling to target.

The connection works with the ST-LINK utility, but it's still not working with Atollic.

I updated the last version of ST-link USB driver and I did upgrade the ST-link firmware (V2J31M21).

I thought the problem with the initialization because in the config.txt file of GDB server i had :

 persistant mode enabled (-e)

verbose mode disabled (# -v )

SWD mode enabled (-d)

which is not the case in the Atollic console but i tried to uncomment the verbose mode line but the permission is denied.

Any ideas how to solve this problem ?

0 REPLIES 0