2026-02-12 4:05 PM
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 )
Solved! Go to Solution.
2026-02-13 6:52 AM
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
2026-02-12 8:44 PM - edited 2026-02-12 9:13 PM
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.
2026-02-13 6:52 AM
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