DEVKIT-MPC5748G ENET code example

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DEVKIT-MPC5748G ENET code example

1,529件の閲覧回数
yankuang1
Contributor III

Is there any examples or documents where I can find information on how to configure and use ENET on DEVKIT-MPC5748G.I use the following code to test the Ethernet communication,but unable to communicate successfully.

 

181048_181048.pngpastedImage_1.png181055_181055.pngpastedImage_2.png

Original Attachment has been moved to: mpc5748g_enet_rmii_udp.zip

0 件の賞賛
返信
1 返信

950件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

this example is not prepared for reply to ICMP echo request.

When your computer sends ICMP echo request, it needs to know MAC address of the microcontroller, so it sends ARP request. But the example only sends UDP datagrams to PC. ARP request handling is not configured in your example.

So at first, you have to add ARP handling to your project or set MAC address of the microcontroller in PC arp cache manually.

But even if you will be able to send ICMP echo request to microcontroller, it will not be able to answer you, because ICMP handler is not implemented. Please see code below:

pastedImage_1.png

Regards,

Martin

0 件の賞賛
返信