[Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Kovalenko Evhen ·
ping_request function:
Please, notice to my mistake, if possible.
RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Eugeny ·
Not clear what you are trying to achieve. Do you ping W550 and then your code answers or do you use W5500 code to ping other device?
This sounds strange and I have a suspicion that it is wireshark does not see the packet for some reason. To see it wirehsark must be installed on final network node, or on the bridge. ICMP packets are not broadcast, and hubs/routers will not route them to inappropriate locations/ports once knowing the right location of the destination.
RE: RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Kovalenko Evhen ·
I use W5500 to ping another device, in my case, the PC where WireShark is installed. It can see the TCP communication with W5500, but does not see ping packets from it.
Ping is not is not disabled somewhere in network: I can ping W5500 from PC and ping PC from another devices.
RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Eugeny ·
Ok, then I would say you have some W5500 configuration issue. Your code is fragmented, so hard ti find the cause. Do you use socket 0? Do you open socket 0 in IPRAW mode? I did not check, but are you sure that ICMP packet header is correct (however if not correct Wireshark would show it anyway as malformed packet). When W5500 performs send command, do its receive and send LEDs flash (so does it send physically?)
RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Kovalenko Evhen ·
Do you use socket 0? — YES
Do you open socket 0 in IPRAW mode? –YES with following code:
IINCHIP_WRITE(Sn_PROTO(s), IPPROTO_ICMP); // set ICMP Protocol
socket(s,Sn_MR_IPRAW,3000,0) -->>returned 0
When W5500 performs send command, do its receive and send LEDs flash — NO(!) (in TCP yes)
Socket switches to IPRAW, getSn_SR(0) returns 0x32
Sending packet sendto(s,(uint8_t *)&PingRequest,sizeof(PingRequest),addr,3000) returns 0
RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Kovalenko Evhen ·
What should I check next?
RE: RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Eugeny ·
Perform dump of the W5500 registers in the common register block and in socket 0. Looking into the values may give us idea what is wrong. But I think that the issue is more simple than this.
I never used this function, and you may check the following:
sis still 0?(uint8_t *)&PingRequestreturns correct pointer to the data?sizeof(PingRequest)returns value other than 0, and less or equal to size of TX buffer?addris not 0.0.0.0?sendto?RE: [Solved] No ARP ping packets transmitted from w5500 (TCP/IP works propertly)
by Kovalenko Evhen ·
I’ve just used mix of w5500 library files with different versions. Thanks and sorry for my inattention.