UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 39489

12.3 EDK - lwIP Echo Server example does not work with AXI Ethernet Lite systems

Description

Why does the lwIP Echo Server example provided in SDK not work with my AXI Ethernet Lite system?

Solution


There is a typo in the provided code that results in the use of an improper name of the Ethernet Lite core.

To work around the problem, edit the local copy of the application in the workspace.

platform.c function platform_setup_interrupts() is modified

From:

#ifdef XPAR_ETHERNET_MAC_IP2INTC_IRPT_MASK
/* Enable timer and EMAC interrupts in the interrupt controller */
XIntc_EnableIntr(XPAR_INTC_0_BASEADDR,
#ifdef __MICROBLAZE__
PLATFORM_TIMER_INTERRUPT_MASK |
#endif
XPAR_ETHERNET_MAC_IP2INTC_IRPT_MASK);
#endif

To:

#ifdef __MICROBLAZE__
/* Enable timer interrupts in the interrupt controller */
XIntc_Enable(intcp, PLATFORM_TIMER_INTERRUPT_INTR);
#endif

#ifdef XPAR_INTC_0_EMACLITE_0_VEC_ID
/* Enable EMAC Lite interrupts in the interrupt controller */
XIntc_Enable(intcp, XPAR_INTC_0_EMACLITE_0_VEC_ID);
#endif
AR# 39489
Date Created 12/06/2010
Last Updated 12/06/2010
Status Active
Type General Article
Tools
  • EDK - 12.3
IP
  • AXI Ethernetlite