lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] Offtopic Realtek


From: Peter Graf
Subject: [lwip-users] Re: [lwip] Offtopic Realtek
Date: Wed, 08 Jan 2003 23:06:09 -0000

At 21:06 13.11.02 +1100, you wrote:
>This is offtopic but somone here might have the answer.
>
>I am trying to write a driver for the Realtek chip, all is fine apart for 
>one problem. Some bytes are changed when the are sent on Ethernet.
>I am logging information using Etherpeek on W2K.
>eg: sending 0x50 in a packet I get 0x52 on the PC.
>
>I can write any value into registers and that works, so my hardware/bus is 
>fine.

I wouldn't be too sure about that. You have not said wether you use 16 bit 
access for the data, in this case only portion of your data bus may be 
defective, and you may still access 8 bit registers correctly.

Additionally, the timings on your busses and control lines may not meet the 
Realtek specs in case you have rolled your own hardware, which I conclude 
from "my hardware/bus". Check for that.

Additionally, some software help (additional wait) may be needed at several 
points within the driver to meet the chip specs. No idea which chip you 
use, anyway.

>Some other bytes are substituted and the only pattern I have found is:
>if bit 4 and any bit 5,6 or 7 is set then bit 1 is set !!
>
>I can't make any sense out of this, it's driving me mad. I even changed 
>chips and  I still have the same problem so I figure it must be software !

Too early to conclude that, I guess.

All the best
Peter


[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]