Stm32h7 custom bootloader
Hi there,
I'm new on stm32 platform and I'm also new on the bootloaders applications.
I'm trying to arrange a custom bootloader for stm32h755 mcu to permit remote firmware updates of our products.
My idea is to implement the bootloader application on the M7 core only, while end application require both M7 and M4 cores.
By this way M7 flash will be shared between boot and final application while M4 flash will be dedicated to the end application only.
M7 bootloader shall program both M7 and M4 applications.
At the startup (power on or after system reset) bootloader on the M7 and M4 application will start: M4 will enter in stop mode waiting for the wake-up from the M7 as ususal, but bootloader will not release it.
After its execution, bootloader M7 will jump to the (new) m7 application that will release the new programmed M4 application.
To jump from the running application to the bootloader, M4 core shall perform a system reset.
I already tried this mechanism and seems work as described.
it could be a right approach?
Anyway my concern is about the M4 core wake-up: exiting from STOP state a reset is performed? (stack pointer, program counter, variables initialization and so on...)
Thankyou in advance for your support!
iTTy
PS: Why I'm not able to select the proper label for this post? "Bootloader", "STM32H7 Series" lables and so on are not available in post composition window... sorry!
