Dual FEC problems/CF5485

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

Dual FEC problems/CF5485

1,767 次查看
ChrisChelmecki
Contributor I
I am having trouble getting both FEC's to operate at the same time. Both work independently, but when I startup FEC0, then FEC1, I don't get
data received on FEC1. FEC0 is assigned DMA channel 2,3. FEC1 is assigned DMA channel 4(rx), channel 5(tx). The FEC1 transfer seems work properly, but when the server responds I never get an interrupt from the dma. FEC1 is also reporting rx overflow errors. All four dma channels used for the fec are low priority(1), but I have tried setting them higher. I am basically using the drivers from freescale. Any thoughts on what would cause problems when both FEC ports are operating? I am using an AXIOM eval board(for a Coldfire 5485).

Thanks,
Chris
标签 (1)
0 项奖励
回复
1 回复

456 次查看
ChrisChelmecki
Contributor I
I just wanted to let people know what the problem was. We are using sram for buffers given to the DMA. When the second ethernet port was started, there wasn't enough sram left to allocate a buffer for the DMA. The DMA was getting a NULL pointer and not doing anything. So I decreased the number of buffers allocated for each port and it seems to be working properly.

Chris
0 项奖励
回复