cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to jump to bootloader from CM4 core on dual-core STM32H7?

Michael98006
Associate III

I'm using a dual-core STM32H745 MCU running firmware on CM7 core that is able to jump to the built-in bootloader in system memory on an external command. After a FW update via the bootloader, I can jump to the newly updated firmware on CM7 core to run it. I'm not sure if this would also launch the CM4 core, but if it does, can I run some code on CM7 core to periodically notify the CM4 core that everything is working, and if no such notification is received on the CM4 core within a specified period of time (think of the CM4 FW as a watchdog timer), have the FW running on the CM4 core jump to the bootloader so I can reload the corrupted firmware on the CM7 core?

1 REPLY 1
Bouraoui Chemli
ST Employee

Hello @Community member​ 

Unlike CM7, CM4 can't execute from system memory. The solution is to use watchdog. By software, where both CM7 and CM4 can have a timer configured in IT mode. CM7 can start it, then go to bootloader mode, if it doesn't restart and the timer expire, the CM4 will get the notification (example RTC alarm).

Best regards,

Bouraoui