cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE does not see ST-Link Server

gadzhi
Associate II

Hello. I don't know exactly what the IDE needs, but it doesn't seem to see the St link server, but at the same time says that it is installed. When you press the Debug or Run button, a window appears with the inscription "ST-Link Server is required to launch the debug session. Please download in on www.st.com".0693W000006Ej45QAC.pngI tried versions 1.5, 1.4 and as far as I remember 1.1. I wanted to try other versions, but the download was constantly interrupted. Is it just me or everyone? It looks like the site needs mirrors.

Separately downloaded St-link-server 2.0.2. At the time of installation, the answer was

"sudo ./st-stlink-server.2.0.2-1-linux-amd64.install.sh 

[sudo] пароль дл�? gadzhi:   

Creating directory makeself_dir_o9t3i4

Verifying archive integrity... All good.

Uncompressing STM STLink-Server installer 100%  

STMicroelectronics Software License Agreement

<License...>

License accepted.

stlink-server v2.0.2 (2020-10-13-14:11) installation started.

Already installed version is newer or equal: �?трока 64:

NOT downgrading. Aborting stlink-server installation.

Error installing stlink-server".

I also tried to install the server through Help> Install New Software ... Answer:

"Cannot complete the request. See the error log for details.

"STM32CubeIDE MCU External Tools ST-LINK GDB Server" will be ignored because a newer version is already installed. 

"STM32CubeIDE MCU External Tools SEGGER J-Link GDB server" will be ignored because a newer version is already installed. 

"STM32CubeIDE MCU External Tools ST-LINK Server" will be ignored because a newer version is already installed."0693W000006Ej4AQAS.pngMy main system is Manjaro Linux (system updated). Everything works well on Windows 10. I tried to program two boards and there were no problems.

I am newbie, don't kick me hard and please explain in detail.

I am looking for a solution in 4 or 5 days. I was looking for two of them incorrectly - why the IDE does not see stlink, but it turned out that it does not see not stlink, but stlink server.

I searched a lot and everywhere, asked in many Telegram chat channels. I came here last, because I prefer to look for the answer myself and because I don't know English and this is Google Translator. Therefore, I'm sorry if you don't understand something in this text.

16 REPLIES 16

Thanks for these steps!

To get your steps to work on my Windows 10 machine, I had to also uninstall "STMicroelectronics stlink-server" through Apps & features. Otherwise the installer would fail.

have the same question.

did not find a way to uninstall stlink-server on linux.

did not find any thing like `st link server` from `apt` command or from CubeIde.

but tell me already installed new version when I tried to install.

Amily.1
Associate

Проблему решил на Ubuntu 20.04:

1) Удалил STM32CubeIDE

2) У�?тановил ST-Link Server

3) Заново у�?тановил STM32CubeIDE (ver 1.4.0)

Cc.3
Associate

2 ways:

  1. download stlink-server file from ST.com, extract, get stlink-server.2.0.2-1 excutable file. move it to /usr/bin, and rename to stlink-server.
  2. use openOCD instead.
    1. ) install openOCD.
    2. )stm32cubeide--run--externaltools--externaltools configuration (or you can excute openocd in terminal:#openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/target/stm32f1x.cfg)0693W000008w4WYQAY.png
    3. dubug configuration, use GDB Hardware Debugging, not STM32 Cortex-M C/C++ Application. GDB command=arm-none-eabi-gdb. JTAG device=ST-LINK(openOCD).0693W000008w4XHQAY.png

tried this it really helped me. thank you.

OOnya.1
Associate

Hi, I had the same problem with Windows 10. I was using IDE version 1.8.0. Here is how I solved it.

  1. I downloaded the ST-LINK server software module (version 2.0.2) from st.com.
  2. I closed all open windows of the CubeIDE
  3. I unzipped and installed the server-link
  4. I reoppened my project and run it again
RPraj.6
Associate

Hi,

i am facing the same problem but after installation st link server the problem solved.