cancel
Showing results for 
Search instead for 
Did you mean: 

M1 Macbook pro can't use st-link to run programs

yangyan
Associate II

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.

19 REPLIES 19
SofLit
ST Employee

Hello @yangyan and welcome to the community,

You need to check if your system fits the following for CubeIDE:

From the release note:

SofLit_0-1731323417611.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Thanks for your reply,I have successfully downloaded CubeIDE and compiled the program. The only problem is that I can't find an ST-LINK that is compatible with the MacBook to connect to the PCB board and perform the programming. I wonder if I can buy st-link v2 to link my Mac book         P.S.I'm just a Beginner to study the operation related to single-chip microcomputers.

this's my Mac version

Does your system have macOS 13 (Ventura) or MacOS 14 (Sonoma) or not?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

I don't know if you can accept my e-mail ,so I reply here again, it's version is Sonoma 14.6.1

Normally your system supports it.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

so,I can buy stink v2?,I don't know how can I thank you with my bedly English ,thousands mile away from my you can help methane you again.

 


@yangyan wrote:

so,I can buy stink v2?,


You've already used in your first post and I don't think there is something prevent you using it.

Also there is no "C8T6" MCU part number, I think this is the final part of the part number. Example STM32F103C8T6.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Ozone
Lead II

I suppose you need Mac-specific USB drivers for the ST-Link,
This applies to the standalone version and the onboard version many ST boards come with.

Those drivers are usually not installed with CubeIDE, it must be done separately.

I suggest to start with connecting the ST-Link to your Mac, and check if and how it recognizes the USB device.
I am not a Mac user, so I can't give any further hints - try a google search instead.