2025-12-30 11:34 PM
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.
2025-12-31 1:53 AM - edited 2025-12-31 2:00 AM
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?
2025-12-31 2:10 AM
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 .