STM32 Jump to System Memory Bootloader
Jump to navigation
Jump to search
All STM32 MCUs has a builtin bootloader stored in so-called system memory. The system memory is a ROM (read-only memory) which is created during the production of the MCU and can never be changed. When the MCU startup the Boot0 pin is asserted and if high (pulled up to VCC) the MCU will execute the bootloader.
But what if we would like to execute this bootloader programmatically based on some other event for example the press of a user button.