Skip to main content
s54mtb
Associate II
February 24, 2016
Question

Is it possible to ''re-flash'' the ST-Link ?

Posted on February 24, 2016 at 08:27

I have several discovery boards and last week I got a nucleo board. I made a mistake and connected another SWD debugger to STM32F103 SWD pins instead of on-board target microcontroller and erased ST-Link firmware.

Is there any possibility to ''re-flash'' the ST-Link firmware back into the STM32F103?

#stlink-v2 #re-flash #stlink #nucleo #flash-image
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
February 24, 2016
Posted on February 24, 2016 at 17:26

That probably took a lot of work.

You should perhaps look over the web for people doing home-brew or boot-leg ST-LINK devices, there are definitely binaries out there.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Uwe Bonnes
Chief
February 25, 2016
Posted on February 25, 2016 at 15:56

Several possibilities:

1. Flash another debugger on the board:

https://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe

2. Look for the firmware image of the stlink. At some point it was found on some russian site as written on the page above. The image if for some old version of the STlink-V2, but can be updated.

3. Ask your FAE or some ST-insider for the image.

s54mtb
s54mtbAuthor
Associate II
February 28, 2016
Posted on February 28, 2016 at 01:38

Thank you both. Instead of programming stlink on the discovery board I made one myself:

http://e.pavlin.si/2016/02/28/how-to-program-blank-stm32f1-with-stlink-v2-firmware/

M.