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
Solved! Go to Solution.
Hi,
I tried it on the EVB (revD) as well, with default jumpers, setting PHY for MII mode
Just commented line //#define DEVKIT in demo code.
Again I got successful ping
Unfortunately have no feedback for linux...
BR, Petr
Hi,
I tested this example (from SDK 3.0.3) on DEVKIT-MPC5748G and it is running. I am on WIN10.
BR, Petr
Hi PetrS:
I'm still not able to ping the MPC5748G EVB using enet_ping_mpc5748g. The following is my setting:
arp -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
Hi,
I tried it on the EVB (revD) as well, with default jumpers, setting PHY for MII mode
Just commented line //#define DEVKIT in demo code.
Again I got successful ping
Unfortunately have no feedback for linux...
BR, Petr
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
Hi PetrS:
Also, can I run this under debug mode????
Thanks
James
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