This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: AT91 EMAC Ethernet driver RX mangles packet data ??
- From: Jürgen Lambrecht <J dot Lambrecht at televic dot com>
- To: J?rgen Lambrecht <J dot Lambrecht at televic dot com>, ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 13 Jun 2008 13:35:05 +0200
- Subject: Re: [ECOS] AT91 EMAC Ethernet driver RX mangles packet data ??
- References: <48523B24.5090508@televic.com> <20080613101403.GC3745@lunn.ch>
Andrew Lunn wrote:
On Fri, Jun 13, 2008 at 11:17:24AM +0200, J?rgen Lambrecht wrote:
Hello,
my current driver works fairly will. If I do UDP or TCP separate it
works perfectly (only in release mode, else RX BNA and OVR errors): up
to 28 Mbps for UDP with my echo program. I use bursts up to 64 kB - my
RX uses 512 128B buffers.
But If I mix UDP with TCP (send both echo requests out in a burst), if
fails very fast - even without big bursts: I send UDP 1 kB and TCP 1 kB
packet echo request in a burst.
-> This crashes the EMAC Ethernet driver! All networking does not work
anymore, not a ping, not the httpd server..
But my application still runs (It still toggles the watchdog LED), so
only the networking part has crashed.
I know you have made a lot of changes to the code. This makes it hard
for us to help solve problems like this.
Maybe it is time to start cleaning up the code so that it can be
included into CVS?
ok, I'll work on it in the weekend
Thanks
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss