W3150A+ TX_WR_PTR
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
MCU & Boards
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: W3150A+ TX_WR_PTR
by becky ·
Hello,
Sn_TX_WR is initialized by OPEN command, Thus you can read after OPEN command.
You’re now saying that the TX_WR register can not be read in UDP mode. Does it work well on the W3100A in same environment?
Becky
RE: W3150A+ TX_WR_PTR
by lawrence WIZnet ·
hello, alfred
Of Course, HOST must open socket to r/w TX_WR.
Have you ever sent data with UDP socket?
TX_WR is Socket TX Buffer Write Pointer.
It is the register written by HOST. And the register value is updated by SEND Command.
So, when HOST copy the data into TX buffer to send data, HOST must increase TX_WR as much as Data length.
Then do SEND command.
After you got 0x00 from Sn_CR, you can check the TX_WR value is updated.
If you want to know more about sending process, Please refer the datasheet here, http://www.wiznet.io/product-item/w3150a+/
Thank you
lawrence
RE: W3150A+ TX_WR_PTR
by alfred ·
Hi, becky, hi lawrence,
thank you for your answers.
I understand now, also if i write a new value to TX_WR i can not read back this new written value, it is updated for reading with next “send” command.
This was my fault, i thougth i can read back this value always after writing.
Many thanks, Best regards, Alfred.
@lawrence:
I made already some UDP, DHCP projekts with W3100 and W3150. But, i am not a specialist on that,. Every 5 years i have to do something.
Now i have to make migration of a produkt i did not develop ( this guy did quit years ago ) and he did not use the same drivers / software i did. He was is building up dhcp Messages in TX memory, i do not know wy.
o.k., best regards, Alfred.
So,
RE: RE: W3150A+ TX_WR_PTR
by lawrence WIZnet ·
hi alfred
It is great that you already made UDP, DHCP project!!
It is always hard to understand with someone’s work… haha
You will make it!!
If you have any questions, please feel free to ask !
Thank you
lawrence