cancel
Showing results for 
Search instead for 
Did you mean: 

ST_LIK Failed to bind to port 61235, error code -1 No such file or directory

PZamb.2
Associate III

Hi

I upgrade stmcubeide  from 1.12.1 to 1.13.2, after the st-link not work in debugger , i view the followed error:

Failed to bind to port 61235, error code -1: No such file or directory
Failure starting SWV server on TCP port: 61235
Failed to bind to port 61234, error code -1: No such file or directory
Failure starting GDB server: TCP port 61234 not available.
Shutting down...
Exit.

In the previous version the ST-LINK work , what is happend?

I tried with STM32CubeProgrammer to connect to board and programming , work fine.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mahmoud Ben Romdhane
ST Employee

Hello @PZamb.2 ,

First let me thank you for posting.

I suggest that you consult this link:  Solved: Re: No ST-Link detected - Only in CubeIDE 1.13.2.

Thanks. 

Mahmoud.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Mahmoud Ben Romdhane
ST Employee

Hello @PZamb.2 ,

First let me thank you for posting.

I suggest that you consult this link:  Solved: Re: No ST-Link detected - Only in CubeIDE 1.13.2.

Thanks. 

Mahmoud.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi thank for your answer, I reboot the pc and now work

 

PZamb.2
Associate III

Hi

now have the same problem again:

Failed to bind to port 61236, error code -1: No such file or directory
Failure starting SWV server on TCP port: 61236
Failed to bind to port 61235, error code -1: No such file or directory
Failure starting GDB server: TCP port 61235 not available.
Shutting down...

I try to replace ST-link server from 2.1.1 to 2.1.o, like suggest from post , but no effect.

The  ST-Link works with stm programmer but not work in stm32cubeide 1.13.2 (windows 11).

now reboot of PC don't have effect.

someone have any suggest ?

 

 

I had exactly same issue with STM32CubeIDE version 1.15.1. Had a NUCLEO-G474RE run over night, then i unplugged to do some work. After replugging the usb cable the debugger no longer worked, and i got the error message:

Failed to bind to port 61236, error code -1: No such file or directory
Failure starting SWV server on TCP port: 61236
Failed to bind to port 61235, error code -1: No such file or directory
Failure starting GDB server: TCP port 61235 not available.
Shutting down...

If i used the STM32CubeProgrammer, then i could connect, program and read the SWD debugging info fine. So the problem must be with the IDE. After some searching around i found a patch that worked for me. The STLink usb driver had to be reinstalled, by running STM32CubeIDE->drivers->STLinkUSBDriver:dpinst_x86.exe(This depends on your CPU). Afterwards the debugger worked again!