Look at whether the attempt stopped during address resolution or TCP establishment. Both ARP and TCP retry exhaustion can set the W5500 socket TIMEOUT flag. WIZnet's example with RTR set to 2000 and RCR to 8 gives 1.8 seconds for ARP timeout and 31.8 seconds for TCP timeout. A board can exhibit either time with the exact same 25 MHz KDS crystal.
Inspect the retry intervals
RTR uses units of 0.1 ms, so 2000 encodes a basic interval of 200 ms rather than the total connect deadline. ARP uses a fixed interval, with nine 200 ms intervals in this example. TCP retries lengthen by doubling up to a limit: the example uses 200, 400, 800, 1600 and 3200 ms, followed by four 6400 ms intervals. The common status flag does not make these mechanisms equivalent. An application that cancels first reports its own deadline, not the chip's hardware timeout. A received TCP RST is another connection failure and does not represent the no-response retry sequence.
Create two separate controls
On an isolated bench, preserve the same board, crystal and socket settings. First exercise a destination that does not answer address resolution, and confirm in the trace that the attempt never gets past ARP. Then use a controlled destination that answers ARP but returns neither SYN/ACK nor RST for the test. Capture the CONNECT time, frame types, retry intervals and TIMEOUT status for both. Establish which phase failed from packets, not from the identical error message alone. This separates an address or gateway problem from a connection path problem and lets software impose its own deadline without changing a qualified 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
