Hi everybody
I have an Ethernet module with w5500 chipset and I’m facing the “not responding to ping” issue :((
I ran the get_VERSIONR command and the output came out to be 0x04. I also managed to set proper networkInfo on my module and verified they are written successfully. So I believe my SPI connection is working fine now.
Yet, I can’t understand why my module is not responding to the ping command. I also WIRESHARKed it last night and found no trace of my module on the local network.
Should I pay attention to my Ethernet configuration and set W5500 parameters in accordance to them or should I use the Wireless LAN parameters? I’m a little bit confused here.
I have chosen these parameters:
volatile wiz_NetInfo netInfo = {
{0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Source Mac Address
{192, 168, 1, 199}, // Source IP Address {169, 254, 139, 2}
{255, 255, 255, 0}, // Subnet Mask
{192, 168, 1, 1}, // Gateway IP Address
{127,0,0,53}, // DNS server IP Address
NETINFO_STATIC
};
The response to ping command is:
Pinging 192.168.1.199 with 32 bytes of data:
Reply from 192.168.1.198: Destination host unreachable.
Reply from 192.168.1.198: Destination host unreachable.
Reply from 192.168.1.198: Destination host unreachable.
Reply from 192.168.1.198: Destination host unreachable. Ping statistics for 192.168.1.199:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
I have connected my module to my PC via a LAN cable.
My PC network config is :
Windows IP Configuration
Ethernet adapter Npcap Loopback Adapter:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::ac9d:9676:2497:8b28%22
Autoconfiguration IPv4 Address. . : 169.254.139.40
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Wireless LAN adapter Local Area Connection
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::dd6c:2501:3e57:477b%24
Autoconfiguration IPv4 Address. . : 169.254.71.123
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix .
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::accd:a18d:8e11:1f1%19
IPv4 Address. . . . . . . . . . . : 192.168.1.198
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Thanks a ton for your support and help.