cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h7: M7 core resets OK; M4 core stuck in reset handler

Srinath_03
Associate III

Hi, im using stm32h745bit6 MCU, when im pressing reset button only M7 core is reseting and M4 core is stucking in an reset handler itself, what to do an reset. since if a use system reset also same only.

can u someone suggest what to do for this reset handler issues.

 

 

regards,

srinath

5 REPLIES 5
mƎALLEm
ST Employee

Hello,

It's hard to help you based on the description you provided.

What board are you using? What example are you testing?

Please review How to write your question to maximize your chances to find a solution 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hi @mƎALLEm 

stm32h45bit3 208 pin package board we designed, in this normally i have verified peripherals, clocks, etc. during testing when i try to reset the board by push button i can see m7 core resets fine no issues, while m4 core stuck in reset handler.

thus im using an nucleo board as an debugger , so reset button is pressed in nucleo board, from here via swd connector it will go to mcu respective nrst pin.

so i couldnt able to get why it is happening like this, this first time working in an dual core.

 

 

regards,

srinath

Still not answering all the questions: what is the example are you using for this test?

Did you test the same thing on Nucleo board and it's working?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

thank you for the response.

nucleo board that we are using is g474 board, using this board only we are flashing the code to h7 mcu using swd.

we are not running the example code, we are running our own code, 

m7 core running

2*fdcan , 3*spi, ethernet, usb , memory sharing between the cores, 2*usart, 3 timers etc, 

in m4 core 

tim1 6 pwm, and tim3 1 pwm and some gpio outputs, 

the code is heavy only in m7 not in m4 , m4 doing only for calculations, but our problem is reset handler only, m4 stuck in reset handler.

 

regards,

srinath

Debug the code. Where is it stuck? Why is it stuck?

Perhaps get an example up and running first, then use that as a base for your program.

If you feel a post has answered your question, please click "Accept as Solution".