MPC5748G Reset Problem

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

MPC5748G Reset Problem

1,665 次查看
yankuang1
Contributor III

I would like to know how to know what causes mpc5748g to reset.I use the following code to test the Ethernet communication.Sometimes Ethernet can not communicate properly, I tested the RESET pin and found it was low.I have to reset the chip, Ethernet will be able to communicate properly.

Original Attachment has been moved to: ENET_MII.zip

0 项奖励
回复
2 回复数

1,506 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

To find the reset source you can read:

RGM FES / DES registers to find the reset root cause.

I expect your situation is:

After your Power on reset your device is running and them it is reset.

Then do attach with debugger and read RGM FES / DES registers.

This will tell you your reset cause.

Peter

0 项奖励
回复

1,506 次查看
yankuang1
Contributor III

Hi,

Thanks to your help I found the reason for the chip reset.

But sometimes I found that Ethernet communication failed and the chip was not reset.I debug the code and find the code stopped at the location shown below.

pastedImage_1.png

The state of the board and the pC connection is also changed from success to a failed state.

pastedImage_1.pngpastedImage_2.png

0 项奖励
回复