Skip to main content
Associate
July 18, 2026
Solved

Copy firmware from one STM32F103C8T6 to another

  • July 18, 2026
  • 9 replies
  • 126 views

I soft-bricked a keyboard using a STM32F103C8T6 by, I think, trying to write too large an image, and I guess I overwrote the USB bootloader. I have an identical keyboard and I just ordered an ST-Link v2 but I haven’t been able to pull up instructions for cloning the firmware from the working board using the ST-Link. Is this possible?

Best answer by mƎALLEm

Install STM32CubeProgrammer tool downloadable from here: https://www.st.com/en/development-tools/stm32cubeprog.html

Please watch this video on Youtube: [Getting started] STM32CubeProgrammer

PS: avoid using cloned STLINK as you may face connection issues. Read this: How to recognize a genuine ST-LINK/V2 versus a cloned one

9 replies

mƎALLEm
ST Technical Moderator
July 18, 2026

Hello ​@Resuna and welcome to the ST community,

It’s possible unless the RDP (flash read protection) was not enabled in the device you need to read the flash content.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ResunaAuthor
Associate
July 18, 2026

How would I actually do it? I think I would need to be using this utility, since I’m on a Mac:

I do have access to a Windows laptop but it’s not the most convenient option.

Also, looking for the Windows software on st.com is a bit frustrating.

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
July 18, 2026

Install STM32CubeProgrammer tool downloadable from here: https://www.st.com/en/development-tools/stm32cubeprog.html

Please watch this video on Youtube: [Getting started] STM32CubeProgrammer

PS: avoid using cloned STLINK as you may face connection issues. Read this: How to recognize a genuine ST-LINK/V2 versus a cloned one

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ResunaAuthor
Associate
July 18, 2026

They really need to have a better search function, but thanks.

 

I had already ordered this from Adafruit industries based on the recommendation on a hobbyist board.

mƎALLEm
ST Technical Moderator
July 19, 2026

For your attention, that’s not a ST product. 

If your question has been answerd please mark as Best Answer the post that answered your quetion.

Any new quetion = creation of a new thread

Thank you

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ResunaAuthor
Associate
August 11, 2026

The Adafruit part worked perfectly perfectly with that application.