XAPP1026 lwIP vivado 2016.3


The below are build steps for lwIP application on ZC702

1. raw_apps creation

- Launch SDK 2016.3 and create an empty application by choosing default hw_platform of ZCU702 as shown in below figure.

raw_apps_new.JPG


- Create an empty application

empty_application.JPG

- copy the raw_apps source files into raw_apps/src folder and refresh the raw_apps/src folder in SDK (right click and choose Refresh).
- Now, choose lwIP and xilmfs in BSP settings.
lwip_xilmfs_sel.JPG
- Modify the lwIP parameters in system.mss (source tab). This system.mss is located under raw_apps_bsp.
lawip_settings_mss.JPG
- Now raw_apps.elf can be used to test on board.

2. socket_apps creation

- Launch SDK 2016.3 and add "repo" folder provided in the package
xilinx tools --> repositories --> "add repo" --> rescan repositories --> click apply --> click OK
repo.JPG

- create socket_apps as shown in below figure
socket_apps.JPG

- Choose scoket_apps template as shown below and click finish
socket_apps2.JPG

NOTE : User may see errors in socket_apps_bsp/ps7_cortexa9_0/libsrc/xdmaps.c
These errors may be ignored as those will not stop building the socket_apps application
If these errors are to be bypassed remove the keyword "inline" everywhere in the xdmaps.c

- Now the socket_apps.elf is ready to test on board.

3. Testing


The testing procedure is described in page 19 of xapp1026

4. Throughput

Hardware design
Raw mode
Socket Mode
Rx (Mbps)
Tx (Mbps)
Rx (Mbps)
Tx (Mbps)
ZC702_GigE
943
948
541
572