Skip to main content
Associate
December 16, 2025
Question

Custom bootloader appraoch for upgrading firmware

  • December 16, 2025
  • 1 reply
  • 420 views

Hi All,

I am quite new to bootloaders and I wanted to understand best approach to upgrade the firmware. I will get the firmware from a 4g module and store it in external flash. We are based on STM32U5A5 mcu and it will always use the application present in the internal flash. External flash will have two copies/slots. Current one for rollback and new downloaded one.

I am thinking about the following approach. I was wondering if there is anything build-in to do this? I suppose almost everybody must be using the same approach.

liquidloop_0-1765864170513.png

Is there any stm32 bootloader that can do the same? If custom bootloader is needed is there any template I can follow?

Thanks,
Sandeep

 

 

1 reply

T_Hamdi
ST Employee
December 16, 2025

Hi @liquidloop 

Please check these useful links for STM32 bootloader and external memory firmware update examples:

They should help you get started.

Best regards.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question.Hamdi Teyeb"