2025-12-30 11:34 PM - last edited on 2025-12-31 3:06 AM by Andrew Neil
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.
Solved! Go to Solution.
2025-12-31 3:56 AM
@AScha.3 wrote:so from link to robu .... read the comments, before buy (next time.) :
Indeed:
@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.
2025-12-31 3:58 AM
@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!
2026-01-01 1:14 AM - edited 2026-01-01 1:17 AM
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 link
2026-01-01 4:29 AM - edited 2026-01-01 4:34 AM
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:
CKS:
STM:
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: