cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a st-link programmer

Iman Hosseinzadeh
Associate III
Posted on February 17, 2017 at 10:30

Hi,

I would like to use a STM32F103 micro as a st-link programmer on my board to program or debug another micro using USB (like the one on STM32F4 Discovery board). Is it possible to download the st-link firmware to a micro like that? If possible, how should I do that?

Thanks in advance.

#custom-programmer #st-link
4 REPLIES 4
Posted on February 17, 2017 at 10:43

Is it possible to download the st-link firmware to a micro like that?

No. ST does not publish the bootloader which is in the STLink.

JW

megahercas6
Senior
Posted on February 17, 2017 at 11:07

Not only that, it is secured inside chip, so you can't read it with another ST-link.

My solution, expensive, but de-solder chip and solder in your board, it works, sometimes even if you need MCU in LQFP package, it can be cheaper too

🙂

Uwe Bonnes
Principal II
Posted on February 17, 2017 at 11:50

Either ask your FAE about a solution or have a look at the the blackmagic debug probe

https://github.com/blacksphere/blackmagic

 
Posted on February 17, 2017 at 11:09

in theory you can get hex file than you are upgrading firmware in DFU mode in stlink utility, just need a lot of work in order to extract data, it i possible, but tricky.