BUG: STM32CubeIDE Won't connect to ST-LINK v2 debugger on macOS 15.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 5:05 AM - edited ‎2024-09-19 5:06 AM
My setup is macOS 15.0 Sequoia
STM32CubeIDE 1.16.1
STLink-Server v2.1.1
When trying to program or debug a device the following error is shown:
Even after re-installing ST-Link server
I have rebooted and re-installed ST-Link Server, but the issue persists.
It's not a show stopper as I can use STM32CubeProgrammer to program the device, on the same machine.
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 6:40 AM - edited ‎2024-09-19 6:41 AM
Hello,
Got the answer from the team and macOS15 is not supported yet. The only supported macOS versions supported till now in STM32CubeIDE V1.16.1 are macOS® 13 (Ventura), macOS® 14 (Sonoma)
You can refer to the readme file from here.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 5:49 AM - edited ‎2024-09-19 5:54 AM
Hello,
Reported internally to the team.
Internal ticket for follow up 191542.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 6:40 AM - edited ‎2024-09-19 6:41 AM
Hello,
Got the answer from the team and macOS15 is not supported yet. The only supported macOS versions supported till now in STM32CubeIDE V1.16.1 are macOS® 13 (Ventura), macOS® 14 (Sonoma)
You can refer to the readme file from here.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 6:44 AM
Yip, I know that!
Just reportig what happens if you do update to macOS 15.0.
Although to be honest it's a bit disappointing that it's not supprted yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 6:49 AM
I think it will be supported but I don't have a visibility on where it will be.. So sorry for any inconvenience ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 6:53 AM
No worries, I can use the workaround for now :grinning_face:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-24 8:45 AM
Hi KMill
Can you please share your workaround since I can't make it work
Kind regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-24 8:49 AM
I already tried using sudo /Applications/STM32CubeIDE.app/Contents/MacOS/STM32CubeIDE
And it didn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-24 8:57 AM
@pdmazariegos Hi.
Certainly! So what I do is use STM32CubeIDE as normal to edit the code and build the project in either Debug or Release mode. Now, since the built in programming tool wont work at the moment, you need to also run STM32CubeProgrammer. Then...
Step 1. Click on CONNECT to open a connection to your programmer, and device.
Step 2. Click on "Open File" and browse for the latest .elf file that the compiler produced. It will be in the Debug or Release folders under your project files.
Step 3 Click on "Download" to program the code into the device.
Step 4. Click on "Disconnect" to disconnect the porgrammer and reset the device.
*NOTE* In my experience the device does not always reset when you clikc on Disconnect. If this happens, quickly CONNECT and DISCONNECT again and it will reset.
I have not found a way to get into debug-mode yet.
I did notice that I can run stmlink-server from the terminal window, and CubeIDE finds it, but commands sent to it fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-24 9:45 AM
Thanks I would tried this way, I appreciate your reply
Meanwhile I was trying to do what emrys57 did on this link:
and it seems to work the debug session, so check it out!
Kind regards
