2025-12-15 10:05 PM - edited 2025-12-15 10:30 PM
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.
Is there any stm32 bootloader that can do the same? If custom bootloader is needed is there any template I can follow?
Thanks,
Sandeep
2025-12-16 5:36 AM
Hi @liquidloop
Please check these useful links for STM32 bootloader and external memory firmware update examples:
ST Open Bootloader overview:
How to use the ST Open Bootloader for STM32 Microcontrollers
Example with external memory on STM32H7rs:
Open Bootloader application external memories
They should help you get started.
Best regards.