Skip to main content
Associate
Jul 18, 2026 12:05 AM UTC
Solved

Copy firmware from one STM32F103C8T6 to another

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?

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Jul 18, 2026 10:10 PM UTC

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.

9 replies

mƎALLEm
ST Technical Moderator
Jul 18, 2026 12:03 PM UTC

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
Jul 18, 2026 12:57 PM UTC

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
Jul 18, 2026 10:10 PM UTC

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
Jul 18, 2026 10:48 PM UTC

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
Jul 19, 2026 2:32 PM UTC

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
Aug 11, 2026 10:29 AM UTC

The Adafruit part worked perfectly perfectly with that application.