stm32h745: Flash assignment on dual core and its partitionning
Hello everyone,
I'm writting today because I have some questions about the memory assignment of the flash on dual core devices such as stm32h745 mcu.
I'm trying to assign a direction for the boot program, imagine 20k from "0x08000000". Afterwards I wan to assign 1.5mb for the cm7 and the rest for the cm4.
As I understand, by default the flash is separated in 2 banks, first bank for the cm7 and second one for the cm4.
I wanted to know if it was possible to use the first bank and half of the second for the cm7, and the rest for the cm4.
If so, how I should proceed to achieve that? Because I managed to set the beginning of cm4 on another memory direction by setting the FLASH_BANK2_BASE define, but I don't feel like this is the best approach.
Any ideas would be greatly appreciated.
Best regards,
RPC
