cancel
Showing results for 
Search instead for 
Did you mean: 

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

MaddyGitBase
Associate

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 discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

@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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
mfgkw
Senior III

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
ST Employee

@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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.