New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A bug in UTHER2.AI.DRV.S.txt? #163
Comments
Forgot to say what the symptoms are. After 25 successful pings, there is a timeout. Because the imcoming packet is discarded (bad data). After the timeout, the next packet is good again ( Looking at other A2 code I can see they have code to handle this https://github.com/a2retrosystems/uthernet2/blob/master/test/stream3.c#L258 but I am not very good at reading assembly code. |
UTHER2.AI.DRV development is stopped because it uses IPRAW mode. |
That is a bit sad. My immediate comments on this are
|
agree, but you are not supposed to reach this step of execution, as the REAL hardware bug prevents you getting at this step.... |
I am moving this to 0.95 (at the earliest) and to "enhancement" as the AI driver is not critical to A2osX (its a new nice have). We will need to reevaluate after 94 release the priority of this enhancement. |
So I have written a Uthernet II emulator and was trying it on A2osX.
I have an issue with the AI offload which I eventually tracked down to a data address wrap.
This is a log of what happens when I ping an address
This happens after about 25 ping messages.
I have no idea what the real w5100 does. Documentation is not very precise.
Only thing I found is here http://dserver.macgui.com/Uthernet%20II%20manual%2017%20Nov%2018.pdf
Bottom of Page 12.
It clearly states that it only ever automatically wraps at
0x6000
and0x8000
, which seems to imply it does not wrap at the end of each RX or TX socket buffer.DRV/UTHERNET2.DRV.S.txt
does not have this issue because it sets a socket size to0x2000
which means the auto wrap is enough. But with a size of0x0800
, it is not enough.So
Goes without saying I have no Uthernet II card to try.
The text was updated successfully, but these errors were encountered: