2023-02-14 12:18 PM
I'm trying to program a Nucleo-64 (STM32G070RBT6) using:
Things I've tried:
What I see on the board:
I press on the 'Play' or 'Debug' buttons in CubeIDE to try to upload my program, but it always gives the "No ST-LINK detected" message, and the board is not programmed.
Am I missing something? Do I need a USB driver for Mac? I did find a USB driver on the ST website, but it is only for Windows.
Any help or suggestions are welcome, thank you!
2023-02-20 09:20 PM
I'm having the same issue on an Intel based MacBook Pro (2019), running macOS Ventura 13.2.1. In my case the board (STM32L552) doesn't show up in Finder or in the USB Device Tree in System Information. I've tried both USB-C and micro USB but same result. Hopefully someone can help us out!
2023-02-28 04:23 AM
I am on a M1 MacBook Pro and do have a "No ST-LINK detected" issue.
Strange enough, I can see the programmer in the debug configuration.
I even can use it with the stand alone programmer "STM32CubeProgrammer.app" so I know the programmer works and the USB connection is ok.
As the programmer even shows up in CubeIDE pretty much everything is ok BUT CubeIDE.
Any progress on any ones end?
2023-02-28 04:36 AM
So I just tried different things. Here one remarkable result:
In the debug configuration under "Debugger" I have a button "Show Command Line" if I take this command copy&paste into a terminal I get the GDB Server working. So now I can go from "Autostart local GDB server" to "Connect to remote GDB server" and leave "localhost" as the server and NOW the IDE can load and start/stop the debugging...
So this is an issue of CubeIDE. It might be an issue with access rights behind the scenes but I see now way to influence this...
Its this command I used
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.macos64_2.0.400.202209281104/tools/bin/ST-LINK_gdbserver -p 61234 -l 1 -d -s -cp /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.0.500.202209151145/tools/bin -m 0 -g
2023-03-01 08:33 AM
Hello @GBert.4 ,
At first, let me thank you for reporting this issue.
Could you please check this points:
I will be waiting for your feedback.
Regards,
Rim
2023-03-08 12:11 AM
Hi there
In the meantime I fixed the issue for me. Thought I drop by for future visitors.
I completely removed the IDE and redownloaded it. I then executed the driver installation (don't think it was crucial BUT did not hurt).
So from my perspective the IDE probably corrupted itself with an update. This is VERY frustrating but it again shows me the danger of self modifying software. Don't update a development environment if not necessary. This of corse has security implications but thats a discussion for another day.