cancel
Showing results for 
Search instead for 
Did you mean: 

STLink not working on new MacBook Pro

Clark Sann
Senior

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.

0693W0000059juqQAA.png 

Here is a screenshot of the STLink Upgrade window

0693W0000059juvQAA.pngAll the jumpers are on the board.

Thanks for your help!

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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.

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

View solution in original post

5 REPLIES 5
TDK
Guru

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.

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

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?

LaurentL
ST Employee

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

Clark Sann
Senior

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!

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.