W5100 with FRDM-KL46Z, UDP problem with NTP consulting
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: W5100 with FRDM-KL46Z, UDP problem with NTP consulting
by becky ·
How are you allocating ip?
If you are using virtual ip as a static ip, you need to port forwarding.
RE: RE: W5100 with FRDM-KL46Z, UDP problem with NTP consulting
by gajobar ·
Thanks for your answer.
I’m using a static IP, because i don’t have programed the DHCP algorithm.
How i make that? I open the socket with the local port, then i put the destination port and destination IP, and send the message for the NTP solicitation. Finally, i close the socket.
With that, in the wireshark i can see the ARP with a broadcast, but nobody responds.
Regards
RE: RE: W5100 with FRDM-KL46Z, UDP problem with NTP consulting
by gajobar ·
How i make teh “port forwarding”??
RE: W5100 with FRDM-KL46Z, UDP problem with NTP consulting
by becky ·
If you use a virtual ip without dhcp, you can’t send to packet external network.
Port forwarding be configured at the router.
Please find out how to set up your router.
RE: W5100 with FRDM-KL46Z, UDP problem with NTP consulting
by gajobar ·
Ok, i understand.
That’s why I started testing the code with DHCP and was able to make it work. Thank you!
One more thing, how could you do with the W5100 to detect the cable connection?
Regards!
RE: RE: W5100 with FRDM-KL46Z, UDP problem with NTP consulting
by becky ·
The lastest chip of wiznet has phy register that can read phy link status.
But W5100 don’t have it.
So please ping test.