2024-08-03 11:23 AM
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?
Solved! Go to Solution.
2024-09-15 10:04 AM
Rohdea, I made an ST account specifically to thank you. You saved me such a hassle. Thanks!!!
2024-09-20 10:03 AM
Gracias por la solución, funciona bien con con la versión 15.0 oficial, espero que solucionen pronto el problema de incopatibilidad. Nuevamente GRACIAS!!!!!!!
2024-09-21 07:22 AM
That works for me! Thanks!
2024-09-21 09:04 AM
macOS 15 not yet supported.
possible solution :
run the following command in the external terminal, the GDB server starts properly, and I'm able to debug the application. I use then remote GDB server (localhost with default port)
This starts the GDB server and loads my application without any issues.
2024-09-24 11:42 PM
Thanks, It worked!
2024-10-10 12:27 AM
Hi, I am on Sequoia 15.0.1, and have the same issue.
As a temp solution I am running the cubeIDE as root, but ST should really do something to solve this issue.
2024-10-25 12:09 AM
Hi,
it seems that this TEMPORARY solution creates another problem: by starting the IDE with sudo, when changing something on the IoC, it doesn't anymore update the project with the changes.
2024-11-05 02:54 PM - edited 2024-11-05 02:59 PM
Yeah, that gets around the immediate issue, but not the long term.
Since sudo gets around the issue, it's a permissions issue. For me it showed up after I updated to 15.1
Oh, that's weird. I launched 1.16.1 from the command line, without the sudo, and the ST-Link server starts properly.
WAT????
2024-11-10 12:32 PM
Hi everyone. I did a bit of research on this issue and found that the debugger fails to launch due to the missing environment variable /usr/local/bin. The problem is that when the program is started from Launchpad or from the terminal, the set of environment variables available to the program is different. When launched from the terminal, /usr/local/bin is included in the PATH, but it’s missing when launched from the shortcut.
I couldn’t find an easy way to add an environment variable to Launchpad, and I don’t think that’s the best approach anyway. A temporary solution is to create a shell script through Automator, as shown in the screenshot.
2024-11-11 09:37 AM
Thank you Rohdea! Using sudo works for me as well, but strangely it changes the keyboard language.