cancel
Showing results for 
Search instead for 
Did you mean: 

Can't connect STM32F103C8T6

xSekigan
Associate II

I can connect in STM32CubeProgrammer my BluePill but can't do that in STM32CubeIDE. 

I fixed that my ST-LINK's pins were reverse in it. 

The problem I get is,

Error in initializing ST-LINK device.

Reason: ST-LINK: Could not verify ST device! Abort connection.

sil13.PNG

I have downloaded STSW-LINK009 already. Can you help me?

la ilahe illallah
1 ACCEPTED SOLUTION

Accepted Solutions

1. Buy from distributor, st-link or nucleo board :

https://www.mouser.de/ProductDetail/STMicroelectronics/STLINK-V3MINIE?qs=MyNHzdoqoQKcLQe5Jawcgw%3D%3D

https://www.mouser.de/ProductDetail/STMicroelectronics/NUCLEO-F103RB?qs=fK8dlpkaUMs2W6dqxUbL2w%3D%3D

 

2. If want cheap...from Ali or so, look for comments, that show: this is original STM on board.

I have some BluePills with STM32 chip, but also 2 with CKS32 ... so read description carefully and comments.

If no comments, that say "original STM" or "works with stm32IDE " , dont buy this.

eg.

Recently i buy this :

https://de.aliexpress.com/item/1005006246566896.html?spm=a2g0o.order_list.order_list_main.5.21ef5c5fzMlpCu&gatewayAdapt=glo2deu

Seems original STM chip, can debug in IDE . But at your own risk -- sometimes the chinese sellers get new parts - they dont know, and you will know, when you get it and test.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

7 REPLIES 7
STTwo-32
ST Employee

Hello @xSekigan and welcome to the ST Community :smiling_face_with_smiling_eyes:.

I think you are not using an original ST part but a counterfeit one. Thats why you are receiving this message.

I suggest you verify that you are using genuine parts.

Best Regards.

STTwo-32

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.

You mean ST-LINK by ST? 

Having said that, I had bought this from a local store here but never gave an error before.

Worked with STM32L010C6T6 and LoRa last month and used this one. 

I have bought a new laptop tho but I was sure that I had downloaded all that needed ://

I better get a new one. Any chance port numbers collision since it's GDB server?

Thank you, glad to be here. 

la ilahe illallah
AScha.3
Chief III

So with your none-STM chips -- you cannot debug in IDE. (IDE checks for genuine STM cpu there...)

 

But you can make a program in IDE, compile, then use CubeProgrammer to flash your BluePill .

 

If you want debug in IDE, buy an st-link with genuine STM cpu and also the target (BluePill or any) has to be STM cpu. Check, whats on your BluePill , maybe GD or CKS 32F103C8 there .

If you feel a post has answered your question, please click "Accept as Solution".

I mean your STM32F103C8T6 may be not a genuine one. You have to always ensure buying genuine products.

Best Regards.

STTwo-32 

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.

xSekigan
Associate II

How can I be sure that the device I want to buy is genuine one? @AScha.3  @STTwo-32 

 
la ilahe illallah

The easy way is to just buy it from one of our official distributers. You can find them here.

Best Regards.

STTwo-32

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.

1. Buy from distributor, st-link or nucleo board :

https://www.mouser.de/ProductDetail/STMicroelectronics/STLINK-V3MINIE?qs=MyNHzdoqoQKcLQe5Jawcgw%3D%3D

https://www.mouser.de/ProductDetail/STMicroelectronics/NUCLEO-F103RB?qs=fK8dlpkaUMs2W6dqxUbL2w%3D%3D

 

2. If want cheap...from Ali or so, look for comments, that show: this is original STM on board.

I have some BluePills with STM32 chip, but also 2 with CKS32 ... so read description carefully and comments.

If no comments, that say "original STM" or "works with stm32IDE " , dont buy this.

eg.

Recently i buy this :

https://de.aliexpress.com/item/1005006246566896.html?spm=a2g0o.order_list.order_list_main.5.21ef5c5fzMlpCu&gatewayAdapt=glo2deu

Seems original STM chip, can debug in IDE . But at your own risk -- sometimes the chinese sellers get new parts - they dont know, and you will know, when you get it and test.

If you feel a post has answered your question, please click "Accept as Solution".