This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Strange behavior of rltk8139 chip
- From: Gary Thomas <gary at mlbassoc dot com>
- To: jerzy dyrda <jerzy dot dyrda at kontron dot pl>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 27 Aug 2004 08:44:56 -0600
- Subject: Re: [ECOS]Strange behavior of rltk8139 chip
- Organization: MLB Associates
- References: <200408271641.18925.jerzy.dyrda@kontron.pl>
On Fri, 2004-08-27 at 08:41, jerzy dyrda wrote:
> Hi all,
> I find abnormal behavior of chip which corrupts eth driver. In receive,
> driver poll flag buffer empty and when buffer is not empty read receive
> packet header form receive buffer. But after is last frame red, flag buffer
> empty was false and driver try read next packet ( but that was no data ) and
> lost synchronization. I add one more condition - I compare read and write
> pointer of receive buffer from chip registers.
> Any similar experience?
Sounds like a cache issue. Make sure that your PCI space and the memory
used by the board are not cached.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss