MPC5748G EVB =- enet_ping_mpc5748g in debug flash mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5748G EVB =- enet_ping_mpc5748g in debug flash mode

Jump to solution
1,698 Views
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 Kudos
Reply
1 Solution
1,568 Views
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

 

View solution in original post

0 Kudos
Reply
6 Replies
1,667 Views
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 Kudos
Reply
1,657 Views
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 Kudos
Reply
1,569 Views
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 Kudos
Reply
1,560 Views
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 Kudos
Reply
1,660 Views
karma_JC
Contributor I

Hi PetrS:

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

Thanks

James

0 Kudos
Reply
1,661 Views
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

Tags (1)
0 Kudos
Reply