Skip to main content
Visitor
July 25, 2026
Question

STM32F103C8T6 Unable to burn again

  • July 25, 2026
  • 4 replies
  • 49 views

"I recently bought an STM32F030C8T6 chip, but when I was programming it, I didn't enable the debug interface as Serial Wire. As a result, although the first programming was successful, I can no longer program it through the Serial Wire interface. How can I solve this problem?"

4 replies

Karl Yamashita
Principal
July 25, 2026

what are you using, STM32Cube Programmer? What does it report?

I assume this is a custom PCB? I assume VREF is connected since you got JTAG to work, but is it the same programming cable for SWD?

Schematic would help.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
tywAuthor
Visitor
July 25, 2026

The PCB written is the STM32F103C8T6 minimum system development board
I'm using vscode to burn STM32F103C8T6 through ST link. Debugging console prompt:
For help, type "help".
Type "apropos word" to search for commands related to "word".
Add symbol file "D:/desktop/test/test/build/Debug/test. elf"
Add symbol table from file "D:/desktop/test/test/build/Debug/test. elf"
(y or n) [answered Y; input not from terminal]
Reading symbols from D:/desktop/test/test/build/Debug/test. elf
Failed to decode cstring 'could not connect (error 138): {}

tywAuthor
Visitor
July 25, 2026

I'm using vscode to burn STM32F103C8T6 through ST link. Debugging console prompt:
For help, type "help".
Type "apropos word" to search for commands related to "word".
Add symbol file "D:/desktop/test/test/build/Debug/test. elf"
Add symbol table from file "D:/desktop/test/test/build/Debug/test. elf"
(y or n) [answered Y; input not from terminal]
Reading symbols from D:/desktop/test/test/build/Debug/test. elf
Failed to decode cstring 'could not connect (error 138): {}

Karl Yamashita
Principal
July 25, 2026

What OS are you using? How are you programming? Run & debug button? What is in your launch.json file?

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
MM..1
Super User
July 25, 2026

F103 or F030 ??? But simply SWD require NRST line for this and under reset config ….

tywAuthor
Visitor
July 25, 2026

I don't understand. Could you explain it in detail? Thank you!

MM..1
Super User
July 25, 2026

Your board is simple and lack this feature . Normal pinout is https://community.platformio.org/uploads/default/original/2X/c/ceaddead685e6219f5c5d5c8eb57979991978816.png

Use button RESET manualy in right moment and maybe you flash code, but plan next code dont use pins SWD and not use STOP or STANDBY low power mode.

tywAuthor
Visitor
July 25, 2026

The PCB written is the STM32F103C8T6 minimum system development board

Andrew Neil
Super User
July 25, 2026

The PCB written is the STM32F103C8T6 minimum system development board

The is no such things as “the STM32F103C8T6 minimum system development board” - that does not uniquely or unambiguously identify any particular board.

Many vendors have things  they call a “minimum development board”.

You need to give the specific manufacturer and part number - preferably post a link to what you bought.

Some good, clear photos of your setup would help.

 

But what you describe sounds like a so-called “Blue (or black) Pill” - this is not an ST product, and most likely contains a fake /clone STM32 chip.

 

Also what SWD programmer are you using? If it says “ST-Link”, is it genuine?

 

See also:

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.