Echo server

Baremetal Drivers and Libraries

Release Date
2023-07-07

lwip echo server is used to test lwip library with a basic TCP echo application. Create an lwip echo server application. Run fsbl and then lwip echo server elf. On the link partner, run telnet <ip address> 7 Note: If DHCP is not being used (enabled by default), make sure to set static IP addresses in the same group in lwip echo server and the link partner machine. Sample expected output:

-----lwIP TCP echo server ------
TCP packets sent to port 6001 will be echoed back
Start PHY autonegotiation
Waiting for PHY to complete autonegotiation.
autonegotiation complete
Waiting for Link to be up;
link speed for phy address 12: 1000
Board IP: 10.10.70.5
Netmask : 255.255.255.0
Gateway : 10.10.70.101
TCP echo server started @ port 7
x86# telnet 10.10.70.5 7
Trying 10.10.70.5...
Connected to 10.10.70.5.
Escape character is '^]'.
hello
hello
^]
telnet>quit
x86#

Refer to https://github.com/Xilinx/embeddedsw/blob/master/lib/sw_apps/lwip_echo_server/src/README.txt for more information.