2017-02-17 01:30 AM
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-link2017-02-17 01:43 AM
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
2017-02-17 02:07 AM
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:)
2017-02-17 02:50 AM
Either ask your FAE about a solution or have a look at the the blackmagic debug probe
2017-02-17 03:09 AM
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.