Skip to main content
Explorer
April 15, 2025
Question

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

  • April 15, 2025
  • 1 reply
  • 705 views

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.

    1 reply

    Super User
    April 15, 2025

    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.

    Explorer
    April 16, 2025

    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? 

    Graduate II
    April 16, 2025

    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