Can’t read PHY ID on SAM7-EX256

Hi all, I’m trying to get the Crossworks demo working on my olimex SAM7-EX256 board and have issues reading the PHY ID. it always return 0x000FFFF rather than the expected id from the ksz8721bl (0x00221610). Anyone with experience with this board that may have an idea whats going on?

Can’t read PHY ID on SAM7-EX256

Are you running the SAM7X interface in MII mode? RMII mode does not work.

Can’t read PHY ID on SAM7-EX256

No RMII as per the original demo: #define USE_RMII_INTERFACE 0 The only changes I have done is to define a a new Phy ID type in mii.h : #define    MII_KS8721BL_ID      0x00221610 and change the corresponding if statement in the SAM7_EMAC.c to detect it, but the call always returns FFFF.