FEC problems on mpc852
Hi,
I am having some problems getting the FEC to work, perhaps someone on the list has seen something like it and can help me out?
The problem occurs in fec_send (in cpu/mpc8xx/fec.c): the BD_ENET_TX_READY bit is set but never cleared, indicating that the packet is ready to send but the hardware is not processing it. The receive side works fine: packets are received and processed as expected. So, I do not suspect the physical path to the outside world. Anybody any ideas what could cause this sort of behaviour? Any known problems with the 852T? What can I look at to find out what is going on? By the way, this is on u-boot 0.4.4.
Best regards,
Chris Simmonds
Dear Chris,
Quoted 9 lines · in message <[email protected]> you wrote:
The problem occurs in
fec_send(incpu/mpc8xx/fec.c): theBD_ENET_TX_READYbit is set but never cleared, indicating that the packet is ready to send but the hardware is not processing it. The receive side works fine: packets are received and processed as expected. So, I do not suspect the physical path to the outside world. Anybody any ideas what could cause this sort of behaviour? Any known problems with the 852T? What can I look at to find out what is going on? By the way, this is on u-boot 0.4.4.
Check the clock routing for your Tx side. Maybe there is no Tx clock so the bits don't get clocked out?
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"The more data I punch in this card, the lighter it becomes, and the
lower the mailing cost."
- Stan Kelly-Bootle, "The Devil's DP Dictionary"