Skip to main content
Associate
Apr 15, 2025 2:06 PM UTC
Question

some (5-10%) STM32G0 can't program through native UART bootloader

Hello,

I am using STM32G0B1cbt6. And I am using native bootloader to update firmware. But in some boards not able to update firmware, it is giving below error:

imranaftab_0-1744725654227.png

And when we replaced the MCU then bootloader started working normally.

 The failure percentage is like out of 100, in 5 to 10 MCUs we are facing problem. 

What could be the reason? And how it can be resolved?

 

This topic has been closed for replies.

4 replies

Andrew Neil
Super User
Apr 15, 2025 2:15 PM UTC

Is this on a custom board?

If so, please post the schematic.

See: How to write your question to maximize your chances to find a solution.

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.
Associate
Apr 16, 2025 7:42 AM UTC

Yes, this is a custom board.

I am attaching the schematic below. Which running on standard 3.3V supply.

 

imranaftab_0-1744789188113.png

Is there any way to check if the bootloader is corrupted and if corrupted is there any way to reprogram it? 

Uwe Bonnes
Chief
Apr 16, 2025 10:19 AM UTC

ASsyou use HSI, maybe HSI may be slightly out of range.Check serial communication with a scope to check for frequency mismatch. Try heating or cooling the non responding devices to move HSI frquency

 

B,t,w, NRST Pullup is deprecated