LwIP example - PING not working on S32K3X4EVB-Q172

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

LwIP example - PING not working on S32K3X4EVB-Q172

1,422 Views
sanjaytandel
Contributor II

Hi , 

I'm using TCP/IP demo example from SW32K3_TCPIP_RTM_1_0_1_HF1_D2209 on evaluation board -  S32K3X4EVB-Q172

Before running the example , I have closed J18:2-3 on S32K3X4EVB-Q172 board, as mentioned in example's description.txt file 

I have setup the Host PC with static IP address 192.168.0.100/255.255.255.0 and trying to run pin command . But it never gets reply from  S32K3X4EVB-Q172 (which is configure with IP address 192.168.0.200). When I debug the code , I can see that board can receive the packets but cannot parse it. 

For example, When I debug  function Gmac_Ip_ReadFrame() from file Gmac_Ip.c , ethernet packets header is parsed , but some how PayloadType is showing GMAC_IP_PAYLOAD_TYPE_UNKNOWN. (Please refer attached file.)

Below is my SW tools version details :

S32K344 RTD version

o S32 Design Studio 3.5

o SW32K3_TCPIP_RTM_1_0_1_HF1_D2209
o S32K3 RTD RTM 2.0.1 integration layer
o S32K3 FreeRTOS 10.4.6 version 2.0.1

In my understanding , this default example should work without any change. May be I am missing some configuration.

Please help to resolve this issue.

 

Regards,

Sanjay

Tags (1)
0 Kudos
3 Replies

1,267 Views
songleoo
Contributor I

之前在别的平台上遇到过相同的问题;

可能是因为lwip协议栈 里面 icmp 的check sum 不过导致不响应,可以试试屏蔽这个checksum;

0 Kudos

1,285 Views
sanjaytandel
Contributor II

Hi @JRoberto

Thanks for your reply.  S32K3X4EVB-Q172  EVK board , I am using has Texas Instruments DP83848C phy chip.

We have tried both version RDT 2.0.1 and RTD 2.0.0 , it's same behavior. Anyways, let me double check with RTD 2.0.0 and get back to you.

Appreciate your attention to this thread!

 

Regards,

Sanjay

 

0 Kudos

1,317 Views
JRoberto
NXP TechSupport
NXP TechSupport

Hello @sanjaytandel 

Could you please tell me which ethernet transceiver does your board has soldered? It's the IC highlighted in the picture

JRoberto_1-1666298587456.jpeg

 

Also, I noticed that you have the RTD 2.0.1 but it may cause troubles... could you try using the recommended software for RTM 2.0.0?

JRoberto_0-1666298112259.png

Best Regards!

0 Kudos