SJA1110 ping external PHY destination host unreachable

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

SJA1110 ping external PHY destination host unreachable

1,289 Views
lin_johnny
Contributor I

Hi,

I'm using the S32 Design Studio 2018.R1 with S32SDK_SJA1110_EAR_0.8.0 to develop SJA1110 as L2 switch. we have an external Marvell 88Q 1G PHY connect to SJA1110, so I try to modify generic PHY driver to run on auto-negotiation mode 1G. The external PHY is now auto-negotiation enable and link up with 1G speed, but I meet the ping problem as below: 

PING 192.168.0.200 (192.168.0.200) 56(84) bytes of data.
From 192.168.0.32 icmp_seq=1 Destination Host Unreachable
From 192.168.0.32 icmp_seq=2 Destination Host Unreachable
From 192.168.0.32 icmp_seq=3 Destination Host Unreachable
From 192.168.0.32 icmp_seq=4 Destination Host Unreachable
From 192.168.0.32 icmp_seq=5 Destination Host Unreachable
From 192.168.0.32 icmp_seq=6 Destination Host Unreachable

^C
--- 192.168.0.200 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8171ms

Because other internal PHY ports are workable to ping, I think maybe I lost something to open.

Does there any interface or choose options I need to open up to make it work? 

Thanks,

Johnny.

Labels (1)
0 Kudos
1 Reply

1,207 Views
bpe
NXP Employee
NXP Employee


Ping exchanges echo messages with a host, not a switch. This exchange may
occur over multiple network segments, switches, PHYs, etc.  Lack of echo
responses by itself says nothing about the status of any switch or PHY in the
transmission path.

Typically, the PHY driver informs the network stack that the link is up. How it
occurs, if at all, totally depends on where and how the PHY is connected and
what entity it is controlled by. Note that the SJA1110 SDK only offers an API to
control the PHY and does not mandate any particular way to use it. If you
have only one problematic PHY/link out of several initialized/controlled  by the
same entity, you can look at the code that brings up the working links and do the
same for the problematic one.


Have a great day,
Platon

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos