Not necessarily. On the W5500, UNREACH in the common interrupt register indicates receipt of an ICMP Destination Port Unreachable packet. Read UIPR and UPORTR to identify the destination IP address and port associated with the report. When UNREACH is clear, the remote port is not necessarily open: a firewall may silently drop the datagram, or no ICMP reply may return. This flag separates an explicit rejection from a missing application response. It is not a test of the board's 25 MHz KDS crystal.
Save the destination before clearing the event
Send a single traceable datagram. Record its intended destination and read IR. If UNREACH is set, capture the four bytes of UIPR and the two bytes of UPORTR before clearing only that flag using the documented write-one-to-clear behavior. For example, address bytes C0 00 02 0B and port bytes 12 34 identify 192.0.2.11 and port 4660. Do not clear unrelated pending events as a side effect. When multiple tasks ordinarily send traffic, serialize the bench reproduction and correlate captured packets with the log rather than assuming that a previous destination still applies.
Compare a reply, an explicit rejection and a silent drop
Use a controlled peer on an isolated bench. First let its service answer, then close the service and confirm that the peer returns ICMP. Finally use a rule that silently drops the datagram. Keep the board and crystal unchanged and log the sent destination, observed packets and W5500 register values for all three cases. If matching destination fields appear only on explicit rejection, investigate the application's target configuration. If the capture shows ICMP but the firmware misses the event, check SPI reads and interrupt handling order. If link establishment or general traffic is unreliable, diagnose power, reset and the 25 MHz reference separately; one unanswered UDP datagram is not a reason to change the crystal.
Related selection guide: MERLIN Crystal Timing: Can a 12 pF crystal replace the 18 pF crystal on a 25 MHz W5500 board?
Resource link: https://www.mecxtal.com.cn/en/handbook/new-0785.html
