Unable to write port no on w5500
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: Unable to write port no on w5500
by Eugeny ·
Some information you write to registers does not read back properly until you open the socket or perform connect/listen request.
RE: RE: Unable to write port no on w5500
by dhanunjay ·
Hi Eugeny,
I am reading the register after making the socket open and listen for incoming connection, because of this i am getting RST, ACK packet every time for every SYN packet i send.
RE: Unable to write port no on w5500
by Eugeny ·
Ok, then make dump of all the register set - common reg set and socket reg set after you put socket into listening state, and post it here so that we can see what you can read from W5500 registers.
RE: Unable to write port no on w5500
by dhanunjay ·
Here values of my common register after opening the socket starting from 0x00 to 0x39
Here are the values for the socket 0 registers starting from 0x00 to 0x2F
RE: Unable to write port no on w5500
by Eugeny ·
SUBR being all zeros does not look right.
First of all, achieve situation when remote PC will be able to connect to your W5500, for this you must ensure you set W5500 properly (write all those registers, even if they do not read the same value you wrote).
As soon as PC will connect, I bet you will see, for example, 0x50 in Sn_PORT (if you use HTTP).