Cortex-M3, Code Red
The attached files can be used to replace the FreeRTOS v701 standard distribution to provide support the SMC LAN8720 in place of the National DP83848.
eth8720.zip
FreeRTOS Interactive
|
Cortex-M3, Code Red
The attached files can be used to replace the FreeRTOS v701 standard distribution to provide support the SMC LAN8720 in place of the National DP83848.
The code from eth8720 is a vast improvement over the standard code, because it worked for me, right away.
However, according to the 8720 data sheet it misreads the phy's configuration bits for anything other than 100mbits and full duplex.
The attached .zip use's Rick Drolet's emac set-up to get the 8720 to communicate reads the PHY's bits per the data sheet (tested).
It also includes code for the rdb1768v1 (untested, but original) that can coexist as a build option.
This 8720 code still requires testing in half duplex and 10mbit/sec networks, which I don't have, sorry.
Thanks. It works OK with LPCXpresso board for LPC1769 with CMSIS DAP probe. Only ICMP ping gets DUP! response. Will take look to this when I will have some free time.