Content originally posted in LPCWare by mio on Sat Sep 04 20:29:39 MST 2010
Hi,Kenji
I now tested sample 'RDB1768cmsis_uIP' (but not FreeRTOS).
lpcXpresso1768 board works OK.
That sample code' s id read code is in lpc17xx_emac.c , approx line 100
------------------------------------------------------
/* Check if this is a DP83848C PHY. */
id1 = read_PHY (PHY_REG_IDR1);
id2 = read_PHY (PHY_REG_IDR2);
phy_id = ((id1 << 16) | (id2 & 0xFFF0));
#if defined (KEIL_BOARD_MCB17XX) || defined (CODERED_BOARD_RDB1768)
if ((phy_id != DP83848C_ID) && (phy_id != LAN8720_ID))
#else
#error "No board"
#endif
return FALSE;
-------------------------------------
I try to stop this after get phy_id , debugger shows "phy_is == 508144" (0x7C0F0)
Best Regards,
mio