Skip to main content
Associate II
August 3, 2024
Solved

STLink Server with MacOS 15

  • August 3, 2024
  • 19 replies
  • 25750 views

 

Hello,

I updated to Mac15 (MacOS Sonoma Public Beta), which was probably a mistake. Now I get an error from STMCubeIDE when I try to run indicating "ST-Link Server is required to launch the debug session" and to Please download it on www.st.com.  

I figured something changed in the OS that no longer makes the ST-Link Server run any more.

However when I try to download it, I get essentially a broken link, or at least it simply wont download. Even worse, the web page with Safari seems entirely broken and I cant even get a download to start after accepting the license, but with FireFox I get further, I get but still wont download and the link seems broke.

I can still flash using the STM32CubeProgrammer fortunately (using 2.13.1).

Can anyone tell me how to download this ST-Link Server? Or if there is an issue with the last MacOS and this and there is no fix?

 

    Best answer by Rohdea

    Using "sudo" can temporarily solve this issue

    sudo /Applications/STM32CubeIDE.app/Contents/MacOS/STM32CubeIDE

     

    19 replies

    Senior
    November 14, 2024

    Thank you

    Explorer
    November 14, 2024

    Hmmm. 

    This might be due to running with the sudo command. It could have broken some permissions.

    Visitor II
    November 14, 2024

    In fact it now works - but I am using a French keyboard and using sudo, it is seen as a UK one and I cant switch back.
    Inconvenient but at least I am not stuck.
    Thanks for your help

     

    Visitor II
    November 27, 2024

    The solution is not working for me. One thing I’ve realized is that macOS doesn’t meet my needs, while Windows has been reliable for many years without any issues with STM.

    Visitor II
    November 28, 2024

    With STMCubeIDE version 17 it is claimed to be solved.

    https://wiki.st.com/stm32mcu/wiki/STM32CubeIDE:STM32CubeIDE_errata_1.17.x#Fixed_issues

    191542STM32CubeIDE debugger no longer works in macOS 15.0 Sequoia (STLink and STLinkGDBServer support)

     

    Can anybody confirm as it still does not work for me.

    I even have deinstalled the software, deleted remaining files and reinstalled ver 17.

     

    Andrei Chichak
    Lead
    December 2, 2024

    I can confirm that it DOES work with MacOS 15.1.1 and CubeIDE 1.17.0.

    Updating from 1.16.x was a complete bust, there was an issue with the popup dealing with trusting various packages not having any content, then having to chase it across various monitors, then it wouldn't take clicks, so I just did a clean install of 1.17.0 and it just worked.

    Visitor II
    November 28, 2024

    thanks so much. 

    Visitor II
    December 11, 2024

    Upgrading to STM32CubeIDE 1.17.0 (on MacOS Sequoia 15.1.1) solved the issue for me.

    Associate II
    December 12, 2024

    Thanks so much @fsteiner , worked for me too!

    ktrofimo
    Senior III
    February 11, 2025

    See replies in https://community.st.com/t5/stm32-mcus-boards-and-hardware/st-link-server-is-required-error-after-macos-update/td-p/719546 that points to https://stackoverflow.com/questions/78996974/stm32cubeide-debugger-no-longer-works-in-macos-15-0-sequoia

    1) if `locate stink-server` does not work then use `where stlink-server`

    2) mine stink-server is found at /usr/local/bin. This path is included in /etc/paths (global OS settings) and also seen in `echo $PATH`. So, starting IDE from CLI also helps to use ST-Link even without superuser rights and STM32CubeProgrammer works as it was before macOS 15 upgrade

    3) if you ever started STM32CudeIDE under superuser account then your workspace files can be spoiled with superuser permissions. IDE could complain about impossibility to save some settings. But it looks like it can fix itself.

    4) Running STM32CubeIDE from application shortcut still does not work.

    Senior
    February 24, 2025

    Hello,
    Issue come back in MacOS 15.3.1 and launch in sudo doesn't fix. Please help

    Visitor II
    November 28, 2025

    any fix?

    TDK
    Super User
    November 28, 2025

    @tbwentmia This post has been marked as solved and the solution is highlighted.

    If you have an issue, consider creating a thread with the relevant information and someone may take a look.

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