cancel
Showing results for 
Search instead for 
Did you mean: 

Custom bootloader for dual-core STM32H745ZI

Jack3
Senior II

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?

3 REPLIES 3
KWest.1
Associate II

Did you ever get this working? i have a very similar question.

smati2
Associate II

Hi Jack, is the custom bootloader you have made for the STM32H7 something you can share?

FYI, as I see it, there are Open source bootloaders out there but on the STM32, they are mostly for other versions of STM32 and not for the STM32H7xx. The flash operation is a bit different and I was wondering since you have gone through the trouble of making your custom bootloader for STM32H7, if you can share it and save time at my end. Thank you.

PHayw.1
Associate II

I'd also be interested please