Problems initializing TX Buffer
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: Problems initializing TX Buffer
by Eugeny ·
You assume that “initialized” means set to 0. It is not correct assumption.
Your TX buffer is initialized.
It says that TX buffer has 2K free space, its RD address is ee9c and its WR address is ee9c. You should start writing at this address, and increase WR pointer with the number of bytes. Then issue SEND command.
If you do not do it and just issue SEND command, W5500 sees that the difference between pointers is whole buffer (ee9c & 7ff) - (ee9c & 7ff) which is 0, but 0 means one full leap through buffer = 2K in size.
Chip is behaving properly.
RE: Problems initializing TX Buffer
by Skyfox ·
Thank you very much for your reply. It now works as you said. I think I got a bit misguided by the post I quoted earlier where it said: [quote][…]but I’m pretty sure that the pointers contain 0 after reset[…][/quote]