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

I can't link it, and I can't find any possible information from internt you are my last hope ,can you offer me the Mac-specific USB drivers for the ST-Link,

According to the error message displayed in the screenshot, the ST-Link works fine.
It says the target is held in reset, which means it has an issue with the target MCU - the part you called "STM32 8T6".

So, there seems to be an issue with the target,

sorry for my problems again and again, follow your advice ,I connect the st-link successfully ,but when I try to run my program to the MCU ,the page turn to update ,when I try to update ,it says my st-link is not in DFU mode like the picture blow.can you help me again.

Ozone
Lead II

I am not really familiar with the Cube Programmer or the STM32CubeIDE , this would be a good opportunity for ST support staff to chime in ...

Of course, what do I need to do to find them?

Pavel A.
Evangelist III

P.S.I'm just a Beginner to study the operation related to single-chip microcomputers.

For best experience with development and debugging on STM32 (and many other things) -  get a Windows laptop. Nothing too fancy. 8-16 GB RAM, SSD and full size USB ports.

Buy a new ST-LINKv3 if your board does not have a ST-LINK built-in.

And be happy ever after.

wuwuwu,this Mac was bought 4 years ago, and now I don't have enough money ,as a collage student ,I have 207 USD per month.(QAQ)

Pavel A.
Evangelist III

The school does not provide computers to students? Still using clay tablets and old MACs?

Time is your most valuable resource now. Lost time will not return. You need solid, working tools that save your time and productivity.

 

Thanks for your advice, I should really consider buying a second-hand computer within the next 1.5 years

Generally speaking, Chinese universities will not provide a computer that can be used freely for a long time.

I will Remember your teachings,In this era when short videos are popular, it is indeed extremely easy for time to slip away inadvertently.I used to, or rather now, when I can't get up, I would waste a lot of time on short videos.

but now I should open the DFU ,update my st-link v2 through some methods I don't know yet.Light up my LED  in my new c8t6 as soon as possible.

o,it Solved.thank you again.