MPC5748G EVB =- enet_ping_mpc5748g in debug flash mode

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

MPC5748G EVB =- enet_ping_mpc5748g in debug flash mode

跳至解决方案
1,656 次查看
karma_JC
Contributor I

Hi:

After a day of trying and various computer from Windows10 to Linux, I still CAN NOT have PCs to ping MPC5748G EVB.  The example has no modification.  The program is running in "debug flash" mode.  The code will put in "run" with braking point being disable. 

On PC side, the ethernet cable is connected directly to MPC5748 EVB Ethernet port on the board.  The IP address is static as "192.168.1.5".  The gateway is set as default gateway; or not being configured.  Also, the IP address is set to cache with MAC address using following command "arp -s 192.168.1.19 22:33:44:55:66:77" according to the instruction. 

What did I do wrong here???

Thanks

James

0 项奖励
回复
1 解答
1,526 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried it on the EVB (revD) as well, with default jumpers, setting PHY for MII mode

PetrS_0-1650369103232.png

Just commented line //#define DEVKIT in demo code.
Again I got successful ping

PetrS_1-1650369171619.png

Unfortunately have no feedback for linux...

BR, Petr

 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,625 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tested this example (from SDK 3.0.3) on DEVKIT-MPC5748G and it is running. I am on WIN10.

PetrS_1-1649940586701.png

 

PetrS_0-1649940532661.png

BR, Petr

0 项奖励
回复
1,615 次查看
karma_JC
Contributor I

Hi PetrS:

I'm still not able to ping the MPC5748G EVB using enet_ping_mpc5748g.  The following is my setting:

 

IP_setting.jpgEtherNetSetting.jpgarp-setting.jpgarp -a

Hopefully, My setup is correct.  By the way, do you have setup for Linux PC(Ubuntu 20) as well???  I just would like to confirm Linux setting being correct.

Thanks

James

0 项奖励
回复
1,527 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried it on the EVB (revD) as well, with default jumpers, setting PHY for MII mode

PetrS_0-1650369103232.png

Just commented line //#define DEVKIT in demo code.
Again I got successful ping

PetrS_1-1650369171619.png

Unfortunately have no feedback for linux...

BR, Petr

 

0 项奖励
回复
1,518 次查看
karma_JC
Contributor I

Hi PetrS:

Thanks for the comment.  I just figured out yesterday that I need to comment out "#define DEVKIT" in the code in order to prevent PHY mode changing to RMII.  The ping is working.

For Linux(Ubuntu 20), the code and EVB board are working as well; actually working better.  What you have to do is to manually assign static address to Ethernet port(192.168.1.5), and assigned IP/MAC pair in ARP cache with "arp -s 192.168.1.19 22:33:44:55:66:77".  This shall do the trick.

Thanks

James

0 项奖励
回复
1,618 次查看
karma_JC
Contributor I

Hi PetrS:

Also, can I run this under debug mode????

Thanks

James

0 项奖励
回复
1,619 次查看
karma_JC
Contributor I

Hi PetrS:

Thanks for the screen shoot.  Let me try again.  Be true, that was exact setting on my system with ENet example with company PC(Windows 10).  Hopefully, this computer don't have admin lock the port.  Just wondering, do you have setting for Linux PC to ping the board????

Thanks

James

标记 (1)
0 项奖励
回复