Hi All
I'm having trouble configuring a PHY and I'm not sure if the problem is the software or the hardware.
I have two boards:
1) IAR NXP2468 (Arm-based) dev-kit using a DP8348 PHY in RMII mode. 2) My company's new board using the same ARM processor and a KSZ8041 PHY in MII mode.Both boards are connected to a Netgear hub.
I have a test application that does the minimum of configuration on the ethernet block and the PHY to just get it into a basic powered-up state - but no stack code is present. I can run this test app on both systems.
Now, clearly both PHYs are different and have different PHY registers and my little test app does as much as I thought was necessary to bring them up in their own slightly different ways (RMII, MII etc).
I can successfully read and display the PHY registers on both systems (and print them to a UART) so the ethernet blocks on the CPU are operating and the MII Mgmt link to the PHY is operating too.
On the dev-kit board, as soon as I power it up and connect it to the hub the lights start flashing on the hub indicating that it has passed auto-negotiation and is alive.
But the KSZ8041 board doesn't work. No lights come on on the hub, and as far as I can tell from the registers, auto-negotiation is stuck.
So my question is, before I start hammering on the hardware engineers cubicle ;) is:
Have I missed something? Is there some magic I'm not doing or would I expect the hub to acknowledge the KZS8041 board just like the dev-kit?
Thanks (appologies for the comprehensive explanation (!))
Phil
--------------------------------------- Posted through