W5500 UDP problem
General
No replies yet. Be the first to reply.
Join the discussion.
General
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 problem
by Kei ·
There is not enough information in the question.
You have now written a question on the W5500 Ethernet Shield category. Are you using the W5500 Ethernet Shield?
Anyway, we need to know what code you used to help you.
In addition, we need information about what settings you have set up to send and receive data.
RE: RE: W5500 UDP problem
by Sachin Singh ·
I am trying to make an Echo server. Whatever data is sent to my chip via W5500 , data is returned back to the PC. I have a C# program written by myself to send and receive data using UDP socket. I am Monitoring communication by Wireshark. UDP send from PC is working ok. i can see the data sent in wireshark and data is received without any problem in my C program. But when i send the data back to the PC, Function SendData is stuck inside while(1) loop such that Sok_0_INTR_Value is always 0x04. I neither get timeout or send_ok. Physically there is a direct connection by patch cable between W5500 and my laptop. and w5500 gateway defined as laptop IP
Thank You
RE: W5500 UDP problem
by Sachin Singh ·
Hi i have following Wiznet W5100 board
http://www.ebay.in/itm/112321091012?aff_source=Sok-Goog
and i am interfacing it following STM32 Board using UDP
I am trying to make an Echo server. Whatever data is sent to my chip via W5500 , data is returned back to the PC. I have a C# program written by myself to send and receive data using UDP socket. I am Monitoring communication by Wireshark. UDP send from PC is working ok. i can see the data sent in wireshark and data is received without any problem in my C program. But when i send the data back to the PC, Function SendData is stuck inside while(1) loop
such that Sok_0_INTR_Value is always 0x04. I neither get timeout or send_ok.Please drop me a word if possible
Thank You
RE: W5500 UDP problem
by Sachin Singh ·
This is a working UDP code both by polling and interrupt , tested on STM32F100RB
RE: RE: W5500 UDP problem
by Kei ·
Your question seems to have already been solved in the following article
Thank you for providing a good reference.
RE: W5500 UDP problem
by Ashikur ·
Thank you . Your code help me a lot
RE: W5500 UDP problem
by Sachin Singh ·
Well then develop the TCP code with Interrupt , test it and share it with me…