2020-10-29 05:29 AM
I am trying to program a STM32F411E-DISCO with a new MacBook Pro. I installed STLink and then I installed the IDE. When I try to debug, the IDE says no STLink is detected.
Here is a screenshot of my debug config.
Here is a screenshot of the STLink Upgrade window
All the jumpers are on the board.
Thanks for your help!
Solved! Go to Solution.
2020-10-29 07:38 AM
The board has two USB ports. Make sure you're using the correct one (CN1), which is a USB-mini, not a micro. Make sure you're not using a charging cable.
2020-10-29 07:38 AM
The board has two USB ports. Make sure you're using the correct one (CN1), which is a USB-mini, not a micro. Make sure you're not using a charging cable.
2020-10-29 07:51 AM
Thank you for your quick reply!
I am sure I am connected to the correct port.
How can I determine if I am using a charging cable rather than a data cable?
2020-10-29 08:24 AM
Hi,
You must install the Ide with the 1.4.0 installer (not from an update of a previous version), it should then install STLinkServer and if STlinkServer is installed correctly, it should work.
Did you have an error installing STLinkServer application ?
Rgds,
Laurent
2020-10-29 09:33 AM
Well as it turns out, @TDK was correct. I had a charging cable...or maybe a bad cable. When I changed it, everything started working. Thank you both for helping me!
2024-11-11 02:24 AM
Hello. The following is machine-translated so it might seem a bit strange. I'd like to ask if I can use my only computer, the "MacBook Pro with M1 version", to connect to ST-LINK V2 to program the STM32 on a C8T6 chip's PCB board. I've tried using V1 before but without success. STM32CubeIDE couldn't recognize ST-LINK, and thus it wasn't able to program. I hope you can help me solve this problem. Thank you very much.