hi guys, i have a board of LPC1788, the M3 core, and it use a external Ethernet controller which integrated MAC and PHY. I want to use RL_TCPnet firmware on the external Ethernet controller. Can RL_TCPnet work on this situation? If can, how to transplant? Thanks.
Add another question: Can RL_TCPnet support multi external Ethernet controller?? if can, how?
And can TCP server, WEB server, telnet server work at same time when using RL_TCPnet firmware?
LPC1788 has integrated Ethernet controller, but doesn't have Ethernet PHY.
The Ethernet block contains a full featured 10 Mbps or 100 Mbps Ethernet MAC (Media Access Controller) designed to provide optimized performance through the use of DMA hardware acceleration.
The Ethernet block interfaces between an off-chip Ethernet PHY using the MII (Media Independent Interface) or RMII (reduced MII) protocol and the on-chip MIIM (Media Independent Interface Management) serial bus,also referred to as MDIO (Management Data Input/Output).
John thank you for the reply. i know LPC1788 integrated Ethernet controller. For some reason we used two off chip Ethernet controller with SPI. So i want to know the RL_TCPnet use on off chip controller.
Yes, you can use external Ethernet controller, but only one. Yes, WEB server, telnet, FTP can exist and run side by side.
Georg
Georg, is there some way to solve using two external Ethernet controller on the driver layer? Like set a global flag to distinguish using different Ethernet controller for driver, as we know each socket's function.
RL_TCPNet has 3 network adapters: Ethernet, PPP and SLIP. Study source code for PPP and SLIP, then replace their functions with 2nd Ethernet.
Georg, you ask me to read the code of PPP and SLIP, you mean the driver source code for PPP and SLIP device and simulate a PPP or SLIP device with Ethernet controller? Because the RL_TCPnet only provide LIB file and few config files except the drviers.
Georg,there is one thing, in Net_Config.c only one MAC address can set , and the MAC address must as same as the Ethernet controller. How can i set two MAC address in the firmware?