Socket Status 0x8A?
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: Socket Status 0x8A?
by Eugeny ·
When this status code happens in terms of socket lifecycles? Your explanation means that it goes before listening state. After you issue listen command, right? Can you see what was happening before this status happens?
I know this investigation does not help, and we must ask @wizteam for what this status code may mean, or at least them check if it is a problem. There’re undocumented status codes, which are meaningless for the driver/application, and which simply must not be acted upon. Hope this one is in this set of states, and it does not indicate the problem.
There’s another thought though - when 0x8a is being read, are you sure register read command (through SPI) is not an issue returning wrong data? May it happen that communication fails for some reason (for all sockets - thus fails in general) and then recovers? What other registers read when 0x8a is read from status register?
RE: RE: Socket Status 0x8A?
by dccuser ·
Hello,
as said: mdns/dhcp is running. This means a lot of transfer from and to the w5500 chip. I’m quite sure, that reading the chip is ok. And later on, I’m reading known socket stati.
RE: Socket Status 0x8A?
by Eugeny ·
Do you use TCP for DNS and DHCP?
RE: Socket Status 0x8A?
by dccuser ·
DHCP is an UDP service. MDNS too.
RE: RE: Socket Status 0x8A?
by Eugeny ·
SOCK_LISTENandSOCK_ESTABLISHEDrelate to TCP, therefore 0x8a does not affect sockets when used for DHCP and DNS? Only TCP sockets are affected?Can you elaborate ‘inactive socket’ term - this means the issue is not seen on closed sockets only, right? Sockets open in TCP mode or UDP more all experience status 0x8a simultaneously?
RE: Socket Status 0x8A?
by dccuser ·
Hello,
w5500 comes with 8 sockets. I’m using socket 0 and 1 for DHCP and MDNS. Socket 2 for HTML, Socket 3 and 4 for special payload. 0,1 are running in UDP, 2,3,4 are running in TCP. I’m continously checkin SOCK_STATUS register on all sockets. On the TCP sockets, I’m getting this strange 0x8A state code.