Sockets of WIZ812MJ is getting hanged
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: Sockets of WIZ812MJ is getting hanged
by prashantkumar ·
I have followed the sending sequence given in the Datasheet in which it
1 .first increases the Sn_Tx_Wr pointer to the copied size
2.then gives the SEND command .
But,
your suggestion is to reverse this operation , does that makes the difference .
RE: Sockets of WIZ812MJ is getting hanged
by prashantkumar ·
Hi ,
YES i am getting the ping reply from my module when it hangs , also i am getting DISCONNECT request interrupt when i disconnect in this situation but module dosent take any RECV request further .
I have followed the above sequence for writting .
what other tests that i can perform !!
RE: Sockets of WIZ812MJ is getting hanged
by hjjeon0608 ·
Hi, rashantkumar.
I think there is point hanged in your code somewhere.
Did you mean that 812MJ occurred DISCON(0x08) interrupt but WIZ812MJ doesn’t get any packet??
Or disconnect procedure is not performed??
And post your code and then we will check.
Best regards.
RE: Sockets of WIZ812MJ is getting hanged
by prashantkumar ·
Hi ,
I am really thankfull for your help ,
I am trying to debug the problem from last few days and i got a doubt as what happens when two sockets gets the data/ interrupt in a very less time i. e before i clear the corresponding flag in IR REGISTER , bcoz that might be happening in my case
since user on another PC can hit the button before the earlier request interrupt flag generated due to previous user got clear .
Also can my module get the interrupt for 2 sockets at the same time .
Thank you ,
RE: Sockets of WIZ812MJ is getting hanged
by hjjeon0608 ·
Hi, prashantkumar.
Already you said, interrupt can be occurred in piles but not support pending.
So, received packet could be lost by MCU speed of performance.
I recommend to check only flag in ISR routine when interrupt occurred, handle receive process not at ISR routine.
Best regards.