2025-03-19 3:12 AM - last edited on 2025-03-19 3:28 AM by Andrew Neil
Hi I am experiencing an issue on my IDE I couldn't able to Run/Debug .However the ST Link can be communicated with the target in STM32 Cube programmer but not in STM32 cube IDE.
Console Error:
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
InitWhile : Enabled
Failed to bind to port 61235, error code -1: No error
Failure starting SWV server on TCP port: 61235
Failed to bind to port 61234, error code -1: No error
Failure starting GDB server: TCP port 61234 not available.
Shutting down...
Exit.
Can someone Please help me
Solved! Go to Solution.
2025-03-19 6:24 AM
@meena wrote:Failed to bind to port 61235, error code -1: No error
Failure starting SWV server on TCP port: 61235
Suggest a "network" issue (even if everything is local to the same PC).
STM32CubeIDE does require some Windows Firewall exceptions - presumably for this kind of stuff.
So maybe something has messed with that...?
2025-03-19 6:26 AM
Or try to unisntall CubeIDE and install the latest version 1.18.0.
2025-03-19 8:48 AM
its windows defender blocking the St_link server.Thanks for the support.
2025-03-19 8:49 AM
Yes Updated and still its Firewall blocking the Stlink server. Thanks for the support.