This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STm32H7xx dual core set up

Greetings,

  I am beginning a project with STM32H7xx dual core MCPU, with both an M7 and M4 core.  I generated the project with CubeMX, and opened it with ARM MDK.

Upon running the programming (it defaults to M7 core) I cannot proceed because the code is stuck at this point:

Fullscreen
1
2
3
4
5
6
7
/* Wait until CPU2 boots and enters in stop mode or timeout*/
timeout = 0xFFFF;
while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));
if ( timeout < 0 )
{
Error_Handler();
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

After doing a little digging I learned that in order for the CM4 core to boot I need to:

* Set BOOT_CM4 in the option bytes

* Flash code to the CM4

* Make sure the CM4 boot address is set to where I flashed it

I'm not sure how to do these things with ARM MDK (specifically making sure it's flashed)

0