2024-07-18 12:00 AM
Hello, I am using bootloader software on stm32U5 microcontroller. After updating the software while in boot mode, the processor jumps to the user app without resetting itself. However, when jumping from the User app to the boot app, it does not switch to the boot app without restarting the system (The reason is that it starts from the boot app at startup and if it sees the relevant data at a certain address of the flash memory, it jumps to the user app. But from the user app to the boot app Since I deleted that memory area while jumping, I restart the system and let the boot app check that memory.) How can we jump to the boot app without restarting?
2024-07-18 06:23 AM
> How can we jump to the boot app without restarting?
See example code here for how to jump to the bootloader directly from the application:
How to jump to system bootloader from application ... - STMicroelectronics Community