cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103C8T6 Bluepill Issue with CubeIDE

kiranraj_k_r
Associate II

Hi Team,

I was working on STM32F103C8T6 Bluepill board. I was using this board with ST-LinkV2 to connect with CubeIDE. When i tried to flash a sample LED blink program via CubeIDE, it gave an error saying 'Target not found'. But at the same time i was able to connect this board via cube programmer using same ST-Link and write sample LED code into the board. 
I have also tried to put the board into DFU mode by changing BOOT0 to 1 and connected with a usb cable to my linux machine. when i tried 'lsusb' it didnt show DFU mode status of the board. Please help me to resolve this issue.

13 REPLIES 13

@AScha.3 wrote:

so from link to robu ....  read the comments, before buy (next time.) :


Indeed:

AndrewNeil_0-1767181691085.png

AndrewNeil_1-1767181927541.png

 


@AScha.3 wrote:

buy a cheap nucleo board (genuine from STM) 


Absolutely!

@kiranraj_k_r One more advantage of the genuine Nucleo, which I omitted earlier, is that it includes a Virtual COM Port (VCP) - so you don't need a separate USB-to-UART adaptor.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@MGogr.1 wrote:

 I feel your ST-Link connections are wrong


@kiranraj_k_r - Yet another advantage of a Nucleo board: the ST-Link (and VCP) is already connected - so no chance of getting that wrong!

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Thank you for the overwhelming support. 
1. photo of the chip on the board is attached.

2. if the st link which i'm using is not genuine, then will i be able to upgrade its firmware via cubeIDE&CubeProgrammer?

3. The st link and board was user earlier.

4. i have attached the connection used for board & st linkImage (6).jpegImage (4).jpeg

1. looks like a chip, i have also one; mine is a CKS32F103 ;

just from pic : case corners more round and surface more grainy than real STM:

yours:

AScha3_3-1767270077939.png

 

CKS:

AScha3_1-1767269976576.png

STM:

AScha3_2-1767270015512.png

But as all chips packed in different fabs today, this just an indication, no clear indication.

 

2. update (in CubeProgrammer) might work, but could also render the st-link to non working state, "error on update"...  up to you, to try it. But if it works still for flashing, i woudnt try...

3. ok, did it ever work with IDE/debugging ?

4. connection looks ok; just show, whats CubeProgrammer telling on connect.

like this:

AScha3_5-1767270576716.png

 

 

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