Hello,
I am using NXP DEVKIT-5748G rev-D board and S32 design studio ide for developemt.
Here i am using "enet_ping_mpc5748g" example code but its not working so far even i have change example default mac address and ip addr.
would you please help me, how to test this example?
Thanks,
Rajani Sureja
Embedded SW Engineer
已解决! 转到解答。
Hello,
could you please clarify following points?
What is the board connected to? Is it PC?
If yes, have you already add DEVKIT MAC address into the PC arp cache? I think enet_ping example does not implement ARP reply, so, arp cache in PC must be updated manually. Please use arp -s command to add the mac address.
Regards,
Martin
Manually updating the ARP cache was what did the trick for my Linux system. My windows development system was still unable to ping with the ARP cache update. I'm not looking for help, but just wanted to share so others having this issue know they might have better luck on a Linux system.
Hi,
this example is very simple - it can only answer the ping request - nothing else. So - you need to connect EVB to your PC with static IP address in the same range as EVB - for example - PC IP address 192.168.1.1. You need to add EVB's IP and MAC to ARP table (by command mentioned above). Then you can ping from your PC the EVB and you got correct answer - as shown on terminal screenshot.
Jiri
Hello,
could you please clarify following points?
What is the board connected to? Is it PC?
If yes, have you already add DEVKIT MAC address into the PC arp cache? I think enet_ping example does not implement ARP reply, so, arp cache in PC must be updated manually. Please use arp -s command to add the mac address.
Regards,
Martin