Skip to main content
Visitor II
February 13, 2026
Solved

How do i convert my STM32F103CBT6 to a ST-LINK ?

  • February 13, 2026
  • 2 replies
  • 346 views

i have been trying to find ways of converting my stm32f103 board to stlink for a personal project , i  have found out i need to flash the st link firmware onto this chip but i am not really able to understand how to flash this on the board , if someone has any way to do this it would a huge help , i cant really do anything else as i have already printed a pcb for this purpose so if any one has any way to flash the stlink firmware onto the f103 chip it would be huge help  ?

 

the board is stm32f103CBT6 (64KB FLASH + 20KB RAM )

 

This topic has been closed for replies.
Best answer by Peter BENSCH

@MaddyGitBase 

The firmware used in the ST-LINK/V2 is not freeware or open source, as stated in the license agreement and the Terms of Use.
Please be fair and observe the copyrights and license terms of the tools found on the relevant website, for the ST-LINK/V2 here.

Thank you for your understanding!

Regards
/Peter

2 replies

Associate II
February 13, 2026

ST does not provide the ST-Link v2 software to use it for an own ST-Link. So I would not expect great results on this idea.

 

Which board? A useless ST-Link fake? It has not all needed pins outside to reflash it (e.g. NRST). But you can open it and access all pins needed directly with good eyes/a microscope and flash whatever you want using a genuine ST-Link. So you can reuse it as some USB device for example...

You have to locate an your F103 board these pins:

- GND

- VDD (3.3V)

- SWCLK (clock for SW download/debug)

- SWDIO (data for SW download/debug)

- NRST (reset the F103)

Then supply 3.3V from somewhere to all VDD of your F103 against GND, connect all pins mentioned above to a genuine ST-Link (one GND is ok, not all GND needed) and you should be able to flash.

 

 

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
February 13, 2026

@MaddyGitBase 

The firmware used in the ST-LINK/V2 is not freeware or open source, as stated in the license agreement and the Terms of Use.
Please be fair and observe the copyrights and license terms of the tools found on the relevant website, for the ST-LINK/V2 here.

Thank you for your understanding!

Regards
/Peter