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

4 REPLIES 4
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!