cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103C8T6 Bluepill Board Issue with CubeIDE

kiranraj_k_r
Visitor

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.

2 REPLIES 2
Andrew Neil
Super User

welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results.

 

Note that "Blue Pill" is not an ST product, and likely contains a fake STM32.

Also, are you using a genuine ST-Link, or a clone/fake?

How to recognize a genuine ST-LINK/V2 versus a cloned one. TL;DR: if it looks like a USB memory stick, it's a clone.

 


@kiranraj_k_r wrote:

When i tried to flash a sample LED blink program via CubeIDE, it gave an error saying 'Target not found'.


Please show the full error message, and log.

It is common that CubeIDE will refuse to work with clone chips & ST-Links; CubeProgrammer may be more forgiving.

 

What versions of IDE & Programmer are you using, and on what Host?

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.
AScha.3
Super User

Hi,

In addition to what @Andrew Neil  wrote :

1. was the board + st-link working before, or is this first test ?

2. IDE checking for "fake" target, thats almost just other manufacturer of F103-similar chip, CubeProgrammer more "forgiving"  , also works with F103-similar chip.

3. show good pic of F103 on bluepill board, if possible .

4. show link, where /what you buyed as bluepill + st-link .

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