Jump to content

Mafra81

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Mafra81

  1. Hi again, (Update) Turns out that the lwip211 v1.8 has a bug in the xadapter.c file. (../libsrc/lwip211_v1_8/src/contrib/ports/xilinx/netif/xadapter.c) Essentially, in the library source file mentioned above, due to a default clause 2 case statements fail to take action and leads to yielding the error that @matrixrifle reported. The most simple solution is to place 2 break statements after each of those cases, so that the default clause doesn't intervene. In more detail: (below line 137 of xadapter.c) switch (find_mac_type(mac_baseaddr)) { case xemac_type_xps_emaclite: #ifdef XLWIP_CONFIG_INCLUDE_EMACLITE nif = netif_add(netif, ipaddr, netmask, gw, (void*)(UINTPTR)mac_baseaddr, xemacliteif_init, #if NO_SYS ethernet_input #else tcpip_input #endif ); #else nif = NULL; #endif break; case xemac_type_axi_ethernet: #ifdef XLWIP_CONFIG_INCLUDE_AXI_ETHERNET nif = netif_add(netif, ipaddr, netmask, gw, (void*)(UINTPTR)mac_baseaddr, xaxiemacif_init, #if NO_SYS ethernet_input #else tcpip_input #endif ); #else nif = NULL; #endif break; This enabled me to run an echo server on my designs, including those proposed by Arthur. Best regards,
  2. Hello, I'm receiving the exact same message through UART when running the lwip echo_server application. My software version for Vitis and Vivado, and the lwip library have the same version as yours. To produce the .xsa file used to build a platform for this application I've followed the recent tutorial at Digilent: Digilent Guides - Getting Started with IPI As the guide above didn't include the implementation of AXI ethernetlite, I did that similarly to the old "Getting started with MicroBlaze servers" that was mentioned in this thread. Both this design and the one suggested by @artvvb lead to the same issue reported by you when trying to connect to DHCP. I'm still going to try with a fixed IP address, if it works I'll update this message (it didn't). Have you, or anyone else, found the solution to this problem? My kindest regards,
×
×
  • Create New...