cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE debug with ST-Link V2

MSand.1
Associate II

Dear All,

let me ask for your kind support.

I am able to debug a customized board equipped with STM32WLE micro by using the STM32CubeIDE program (Version: 1.3.0.20) with the connection to a ST-LINK V2 device.

On a second PC I installed the STM32CubeIDE program version1.15.1, I am able to build a running program on the same customized board. I did also the Debug Configurations

(the same parameters of the version 1.3.0.20) but I am not able to debug.

 

After the compilation I get this final message on the console


STMicroelectronics ST-LINK GDB server. Version 7.7.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.

Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled

Target no device found

Error in initializing ST-LINK device.
Reason: No device found on target.


Some seconds later a box appears with this further message


Error in final launch sequence:

Failed to execute MI command:
target remote localhost:61234

Error message from debugger back end:
localhost:61234: Connection timed out.
Failed to execute MI command:
target remote localhost:61234

Error message from debugger back end:
localhost:61234: Connection timed out.
localhost:61234: Connection timed out.

Could you kondly give me a piece of advice?

Best Regards,

Mario Sandri

1 REPLY 1
AScha.3
Chief II

Hi,

how you set the -connect- ?

Try: 

AScha3_0-1721321125373.png

+

Can you connect to any other STM cpu ? (on other matching project, of course )

If you feel a post has answered your question, please click "Accept as Solution".