cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 MCU flashing flow

abhijith_raj
Associate III

Hi,

I’m working on a project with an STM32G491 board and need to document our firmware-upgrade process.

  • Current setup:
    Initial flashing is done with ST-Link/CubeProgrammer.
    Later updates come from an embedded Linux device that runs a custom binary to flash the MCU over UART/I²C.

We already have a basic document that covers the application side, but we’d like to add a brief section explaining the MCU-side flashing flow.

Does anyone have a flowchart or reference diagram showing the STM32 flashing process—either using CubeProgrammer (ST-Link) or via UART/I²C bootloader—that we could include or adapt?

Thanks!

 

1 REPLY 1
Aime
ST Employee

Hi @abhijith_raj ,

Here is the bootloader flowchart that is executed on the STM32 when programming the device with UART/I2C bootloader on STM32G491xx/4A1xx devices.
The can find it in the application note AN2606: Introduction to system memory boot mode on STM32 MCUs section 51.2, I hope that might help you.



Best regards,
Aime