W5500 UDP sendto() timeout
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: W5500 UDP sendto() timeout
by Eugeny ·
As soon as you get packets, MAC address, source IP address, mask, gateway IP address ad source port number must have been set properly. What is about destination IP address and destination port?
RE: RE: W5500 UDP sendto() timeout
by Andrej Buryachenko ·
Thanks for the answer.
I found a solution to the problem.
In the source codes of the sendto() function
setSn_CR(sn,Sn_CR_SEND);
replaced by
setSn_CR(sn,Sn_CR_SEND_MAC);
RE: W5500 UDP sendto() timeout
by Eugeny ·
By the way, you can find all the workflow in the W5100 datasheet here starting with page 41.
RE: W5500 UDP sendto() timeout
by Andrej Buryachenko ·
good afternoon
Tell me please.
How to read the sender’s MAC address from the Socket RX buffer register of the W5500 chip. Sn_MR_UDP mode of operation.
Is it realistic to do so.
RE: W5500 UDP sendto() timeout
by Eugeny ·
page 68 of the W5100 manual.