Hello,
What are the steps for changing from the phyter KSZ8041 to DP83848 ? I want to use MQX 3.8 on MK60N512 project.
Tahnks in advance
Claudio
Solved! Go to Solution.
Hallo cimberlina,
similar way as here:
How do I do it for MQX 3.8.0? There is no "#include for phy definition file in bsp.h...
I've modified the following:
1. init_enet.c:
const ENET_IF_STRUCT ENET_0 = {
&MACNET_IF,
&phy_dm9161_IF, /*<=== instead of &phy_ksz8041_IF*/
MACNET_DEVICE_0,
MACNET_DEVICE_0,
BSP_ENET0_PHY_ADDR,
BSP_ENET0_PHY_MII_SPEED
};
2. init_enet.c:
#include "phy_dm9161.h" /*<=== instead #include "phy_ksz8041.h"*/
3. Recompiled BSP & RTCS libraries.
However, in when performing phy_dm9161_init(), the Status Register reading (&phy_status) always returns 0x0, as if it has not been read at all (The PHY's status register default values are definitely different from 0x0)....
Please advise,
Thank you.
Found my problem: