Question
Custom bootloader for dual-core STM32H745ZI
I made custom bootloaders for STM32F7 and SM32H7, so I'm a bit familiar with the process to update an application when using a bootloader.
But how does one make a bootloader for a Dual-Core STM32H7?
I think it goes like this.
If I use the CM4 core for the bootloader:
- CM4 bootloader checks SD card for updates (binary files)
- CM4 bootloader checks MD5 checksums of the binary files
- CM4 bootloader halts CM7 core
- CM4 bootloader erases FLASH for application for CM4 core
- CM4 bootloader programs FLASH for application for CM4 core
- CM4 bootloader checks FLASH for application for CM4 core
- CM4 bootloader erases FLASH for application for CM7 core
- CM4 bootloader programs FLASH for application for CM7 core
- CM4 bootloader checks FLASH for application for CM7 core
- CM4 hands execution over to application for CM4 core
- Application in the CM4 core starts the CM7 core (the CM7 core does not need a handover)
Is this a good way to do this?
