Upload to STM32 blackpill_f411ce fails over STLink-V2 - Incompatible library version

tried both and no luck, but thanks for the suggestion,
from time to time I get a different error message

Are using powering the stm32 and stlink from Mac USB ports? If so, try using a powered USB hub.

You may also want to try setting upload_protocol = dfu and check if you can upload, then switch back to stlink and try upload again.

1 Like

it worked with DFU, so I don’t need to set anything about the stlink anymore,
thanks a lot for the help!

I struggled with a similar problem for a long time and the method you suggested worked! I have a freshly reinstalled MacOS 10.13.6. I reinstalled vscode and other tools. There is a Chinese stlink and a stm32f411 board. And I experienced the same problem. But I just removed …tool-dfuutil/lib and it worked!
Thanks a lot!