W5500 TCP doesn’t send data
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 TCP doesn’t send data
by Eugeny ·
How do you know that nothing happens? You perform sending from one chip, but you must read data on another chip. And you also must advance WR pointer past data in order for that data to be sent. I do not see this step in the list you provided
RE: RE: W5500 TCP doesn’t send data
by Eliza ·
When I say that nothing happens, I mean that Sn_IR does not change its value. I’m sorry I forgot to mention the TX_WR update, I do this.
I don’t know what happens when I do SEND command. At W5500 which is receives data Sn_IR also not RECV and I don’t know what else I should do.
RE: W5500 TCP doesn’t send data
by gama ·
Hello Eliza, first you should see which W5500 is not working, the one which send or the one which receives? You can use a simple tool like Hercules from HW-group, using the ‘TCP Server’ you can test if your trasmission works, and using the ‘TCP Client’ you can test if your reception works.
Also it is easier to use the sockets functions provided by Wiznet instead of using the registers directly, see socket.c and socket.h: