[En-Nut-Discussion] TCP Test Framework needed
uprinz2 at netscape.net
Wed Jan 13 20:25:48 CET 2010
Thiago A. Corrêa schrieb:
> Hmmm I remember seeing such a think at freshmeat.net
> So, I guess there are tools like that for Linux at least.
That doesn't matter, I have both, Linux and Windows.
> There is a DM9000 both ARM dependent and a device independent
> implementation at nut/dev
> We could perhaps device an API for device independent drivers to
> support DMA, and have it abstract the ARCH dependent code, much like
> it's done in Linux.
> If you could use the device independent driver this way, we could
> deprecate the one at arch/arm/dev
Unfortunately Atmel missed to give the AT91SAM7S a DMA that can access
an external device. The PDC registers are the same as in the SAM7X,
there is no source address register available.
So there is no way to have PDC/DMA with an external DM9000.
Ok, first I'll see where this gurgeling sound from my EIR comes, there
is still some difference in the DM9000 linux implementation compared to
the one in Nut/OS. Especially this insane handling...
Thanks for you hints. And yes, it was my intention to get rid of at
least one of all those network drivers. If you're using general code it
will be slow on ARM as it will need to use 8-Bit variables. If you're
using 16/32-Bit everywhere it will get to big for AVR. And if you do
everything with optimization, uint_fast and #ifdef, it will get unreadable.
Best regards, Ulrich
More information about the En-Nut-Discussion