W5100 Sn_TX_WR Range
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: W5100 Sn_TX_WR Range
by Eugeny ·
Ogawa-san, all the counters and pointers should be kept 16-bit, thus these values you see are correct ones.
But the data window access should be limited to the size of the buffer for respective socket. It is well explained in the datasheet in the “functional description” section.
As far as I used W5100, I can confirm that - after reset this pointer is set to 0.
This is good question, and the first issue which you need to consider is “reset” quality. Value of 55 is default for W5100, thus I propose you to perform software reset (using MR and wait until reset bit clears = reset complete) and check the WR pointer. This way you will be sure that you have 100% proper reset on the chip. In general, before using W5100 in my software after reset, I always perform software reset.
RE: W5100 Sn_TX_WR Range
by ogawakazuhito ·
Hello Eugeny-san
Thank you for your advices.
Your answer includes the very important information.
The W5100 sample program in japanese technical magazine “Interface Dec/2009” has the no-good C-code contents what includes the infinite increments and updating action for TX write pointer. I have been doubting this bad sample program descriptions. I have certain evidence via your proper advices.