some (5-10%) STM32G0 can't program through native UART bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-15 7:06 AM - last edited on ‎2025-04-15 7:18 AM by Andrew Neil
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:
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?
- Labels:
-
Bootloader
-
STM32G0 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-15 7:15 AM
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 designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-16 12:42 AM
Yes, this is a custom board.
I am attaching the schematic below. Which running on standard 3.3V supply.
Is there any way to check if the bootloader is corrupted and if corrupted is there any way to reprogram it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-16 3:19 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-27 11:56 PM
Hello,
We have tried the below methods and no resolution found.
- Remount same MCU: Some started working, some not working
- Replaced new MCU: Some started working, some not working
- Boot 0 pin HIGH at startup: Some started working, some not working
- Boot 0 pin LOW at startup: Some started working, some not working
- NRST pull up resistor removed: Some started working, some not working
- Connected ST Link programmer and tried OTA: Not working
- Observed Boot 0 and NRST with scope: No change while updating.
