Thank you Jacek!
I ran into two small problems, just as feedback:
1.
MII_DP84848I_ID is not defined (should be 83848?). However, also 83848 is not defined.
I found 0x080017 as OUI in the DP83848 datasheet and added it into mii.h. Don't know if this is the correct PHY_ID - I guess not, because it didn't work.
2.
So I defined BOARD_PHY_ADDRESS with a value of 1 (according to DP83848's default strapping option). With that configuration, I had to fix mac_lld_init():
Code: Select all
#if defined(BOARD_PHY_ADDRESS)
// phyaddr = BOARD_PHY_ADDRESS << 11; causes a compiler error
ETHD1.phyaddr = BOARD_PHY_ADDRESS << 11;
#else
mii_find_phy(ÐD1);
#endif
Next step: will try to add lwip and the webserver demo.
Bye!