cancel
Showing results for 
Search instead for 
Did you mean: 

Error in initializing ST-LINK device. Reason: (18) Could not verify ST device! Abort connection.

Fixer
Associate II

I'm having an issue using STM32CubeIDE to program my blue pill boards. I get the below error each time.

0690X00000AqZHVQA3.png

Error in final launch sequence:

Error in initializing ST-LINK device.

Reason: (18) Could not verify ST device! Abort connection.

Error in initializing ST-LINK device.

Reason: (18) Could not verify ST device! Abort connection.

The strange thing is I have no issue programming my boards using ST-Link Utility. I thought that maybe the chips on my boards were counterfeit but I've tried boards from multiple venders now.

I've looked around online and while I found some people getting the "Error in initializing ST-LINK device." message I haven't seen anyone getting "Reason: (18)".

Any help would be appreciated.

This discussion is locked. Please start a new topic to ask your question.
24 REPLIES 24

You’re welcome. :grinning_face:

I’m glad you got it working. :thumbs_up:

Thanks a lot @JElli.1​ . The procedure was very helpful!!

You're welcome, SVemp.2 ! :):thumbs_up:

Is this method still working? because i cannot use it, it always say error

Peter BENSCH
ST Employee

This thread relates to so-called Blue Pill and faked ST-LINK/V2, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.

This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

Thank you for your understanding.

Regards
/Peter

In order 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.