Francois Bouchard

FEC buffer overrun. MCF5282 CW7.1.1a please help

Discussion created by Francois Bouchard on Oct 6, 2009
Latest reply on Nov 19, 2009 by Francois Bouchard

Hi all,

 

I'm stuck with an Ethernet driver problem.  I'm getting buffer overrun errors on some packets which subsequently are dropped.  I'm using lwIP1.3.0 TCP/IP stack, but my problem is on the low level (drivers).

 

I have included my driver code (which has been taken mostly from the FreeRTOS port), but again, please concentrate on the FEC buffer ring code, frame reception code, and its ISR routine.

 

 files:

fec.c     // the receive task, Rx ISR, init code, etc.

fec.h  

nbuc.c   // the fec buffer ring module

nbuf.h

 

 

Thanks

 

regards

 

FB

Outcomes