cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot debug from main() function (NUCLEO-H743ZI2)

clee.10
Associate III

Hi all,

I have developed a program with NUCLEO-H743ZI (Version 1).

And there is no problem for debugging. Recently, I bought NUCLEO-H743ZI2 (Version 2). I found it cannot enter main function in the first beginning.

I try to uncheck 'run to main' item in IAR, and step into SystemInit. And everything goes well until stock in endless loop between __iar_data_init3:

I am wondering know why hardware difference between NUCLEO-H743Z v1 and v2 cause this issue.

Thanks

2 REPLIES 2
Ozone
Lead

> And everything goes well until stock in endless loop between __iar_data_init3:

So obviously, you have a problem there.

I would first check the errata sheet for the H743 controller for known issues, and then determine the exact assembler instruction causing the problem.

Involved register values should indicate the problem.

Perhaps post those values here.

Thank you for your advice,

I am stuck in __iar_zero_init3:

0693W000000TxfkQAC.jpg

And I am trying to find solutions.

Tks