Coldfire 52234 FEC issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Coldfire 52234 FEC issue

1,541 次查看
Alessandro
Contributor I
Hi everybody,

I'm wondering about a strange behaviour of the 52234's FEC. I have
set up the FEC to handle only one receive BD which buffer size is
2048 bytes. In presence of a heavily loaded network I get a FEC lock
even if I always free the unique receive BD every time its E bit is set
to 0 by the FEC DMA engine. When I say FEC lock I intend that no
more RXF interrupts are rised.

I suspect the FEC locks because may happen that the receive FIFO is
full and there are no free receive BDs to write in the OV bit. Is my
assumption correct ? Can you explain me this FEC behaviour ?

Best Regards

/Alessandro

标签 (1)
0 项奖励
回复
1 回复

791 次查看
francois_boucha
Contributor III
Hi,
 
How many frame are you able to receive before the FEC locks up?  I might be your release_RxBuffer_descr()  function that's in cause.  Make shure the Wrap bit stays set to one.
 
Francois  
0 项奖励
回复