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: Andrew Lunn <andrew at lunn dot ch>
- To: J?rgen Lambrecht <J dot Lambrecht at televic dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 13 Jun 2008 12:14:03 +0200
- Subject: Re: [ECOS] AT91 EMAC Ethernet driver RX mangles packet data ??
- References: <48523B24.5090508@televic.com>
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?
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