DHCP for W5500 weirdly slow. #2165
Unanswered
the-maldridge
asked this question in
Q&A
Replies: 1 comment 2 replies
-
specify the INT pin in constructor (and wire it) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've built out a board which has a Wiznet W5500 on it that provides an ethernet interface for when wireless operation just isn't the right choice, and have some code that handles switching between wired and wireless operation when the ethernet link comes up. What does not work reliably, however, is that DHCP on ethernet seems to just hang and not really work. I can see the Pico asking for a lease on the line with tcpdump and I can see my DHCP server offering a lease back, but for some reason the Pico doesn't pick up the lease.
This doesn't seem like the same issue from #2149, so I've opened a new thread to seek advice. The complete code I'm running is available here with the interesting functions all being part of the
netStateMachine()
. I'm using administrative MAC addresses, but I can't see how those could be a problem. Any advice is appreciated.Beta Was this translation helpful? Give feedback.
All reactions