Skip to main content
clee.10
Associate II
March 13, 2020
Question

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

  • March 13, 2020
  • 1 reply
  • 986 views

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

This topic has been closed for replies.

1 reply

Ozone
Principal
March 13, 2020

> 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.

clee.10
clee.10Author
Associate II
March 16, 2020

Thank you for your advice,

I am stuck in __iar_zero_init3:

0693W000000TxfkQAC.jpg

And I am trying to find solutions.

Tks