Skip to main content
Nki h.1
Associate
August 11, 2020
Question

How to Core Reset(M7 => M4 or M4 => M7 Core Reset)

  • August 11, 2020
  • 3 replies
  • 2095 views

Hi..

I am using STM32H745.

Can I restart the M4 Core on the STM32H745-M7 core, or vice versa, the M7 Core on the M4 Core?

It does not matter whether it is a software method or a H/W method supported by a processor.

Please let me know if there is a possible way.

Thank you!!

This topic has been closed for replies.

3 replies

Imen Ezzine
ST Employee
August 11, 2020

Hi Nki h.1,

In some IDEs there is the possibility to run both core simultaneously on two separate windows by opening two instance of the same project. You will have the possibility to manipulate both cores on the same time. Is this what you need ?

-Imen

Nki h.1
Nki h.1Author
Associate
August 12, 2020

I am using H745, and the OS was not applied.

FirmWare is configured to use M7 and M4 cores simultaneously.

M4 core needs the function to check the normal operation status of M7 core.

If the abnormal operation of the M7 core is confirmed, it should be possible to restart the M7 core from the M4 core.

It does not matter whether it is a method using H/W or a method using S/W. Help me!

Bowman32
ST Employee
August 25, 2020

Hi @Nki h.1​ 

Unlike software, It is possible to reset one CPU by hardware.

As mentioned in the Reference Manuel RM0399 Rev 3 chapter 9.7.36 RCC global control register (RCC_GCR), you can set WWDG1 or WWDG2 at 0 to reset CPU1 or CPU2. However there is a caution about WWDG1/WWDG2 in page 393; the CPU must be in stop mode when reset happens.

I recommend to reset CPU2 in stop mode.

Bouraoui