Startup Problem MPC5746C

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Startup Problem MPC5746C

1,828 次查看
eyupozer
Contributor III

Hi,

I have a problem regarding the program startup sequence for MPC5746C MCU with the S32 design studio.

Program is not running properly when I run step by step, the program is crashing after that "startup_MPC5746C.s" line 159 "mtmsr r6" command.

What is the problem? Is there a hardware or software problem?

could you please explain this problem if it can be solved.

Thanks.

pastedImage_2.png

0 项奖励
回复
3 回复数

1,695 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

I guess you have pending Machine check and once you enable it your device will jump into IVOR1

pastedImage_2.png

pastedImage_1.png

If you share with me compiled code you are using I can check where is the issue as from the screenshot I am not able to tell you the root cause.

regards,

Peter

0 项奖励
回复

1,695 次查看
eyupozer
Contributor III

Hi,

Thanks for your response Peter,

I can share the compiled code but this problem exists for all program for this MCU. Other word Program independent.

can we say the MCU has a hardware error?

0 项奖励
回复

1,695 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Do you serve IVOR1 in your code?

You can try all our example codes and see that there is no issue with MCU:

https://community.nxp.com/docs/DOC-329623 

Furthermore, did you used our EVB or your custom designed board?

Share some more info regarding your setup, project, etc...

regards,

Peter

0 项奖励
回复