cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aminfar1
Explorer
Explorer
5,636 Views
Registered: ‎01-09-2009

Trying to remove DDR2 from XAPP1026

Jump to solution

 I am trying to remove DDR2 IP from XAPP1026 XPS project files. I simply deleted the DDR2_SDRAM IP core and I then modified ucf file. The synthesis and P&R processes go well, but when I want to "Generate Libraries and BSPs" in XPS, i get the following error message.

 

 

Staging source files.
Running DRCs.
Runnning DRC for lwIP library...

lwIP can be used with the following EMAC peripherals found in your system:
Hard_Ethernet_MAC
ERROR:EDK - xget_handle  parent :  A NULL handle was provided
ERROR:EDK - lwip130 () - expected integer but got ""
MFS DRC ...
ERROR:EDK:1191 - Error(s) while running DRCs for processor microblaze_0.
make: *** [microblaze_0/lib/libxil.a] Error 2
Done!

 

 

Any ideas?

XPS 11.4, virtex-5, ML505/506, standalone OS library.

 

Thanks,

aminfar

0 Kudos
1 Solution

Accepted Solutions
vsiva
Xilinx Employee
Xilinx Employee
6,923 Views
Registered: ‎01-18-2008
check your lwIP configuration in your MSS to see if you've enabled checksum offload in lwIP.

View solution in original post

5 Replies
vsiva
Xilinx Employee
Xilinx Employee
5,632 Views
Registered: ‎01-18-2008

That is a bug in the TCL code. IT should really say that the TEMAC's local link ports are not connected to anything.

 

So you cannot just remove mpmc and expect the design to work since the temac does not know where to put the incoming packets. You'd have to connect the ll interface to a difference ll sink (xps_ll_fifo or sdma). 

aminfar1
Explorer
Explorer
5,624 Views
Registered: ‎01-09-2009

Good catch! thanks!

Now I added a FIFO and connected its local link to MAC's local link, and I got the following error while generating libraries and BSPs.

 

lwIP can be used with the following EMAC peripherals found in your system:
Hard_Ethernet_MAC
ERROR:EDK:3193 - issued from TCL procedure "lwip_temac_channel_hw_drc" line 27
    lwip130 () - Checksum offload is possible only with a DMA engine
MFS DRC ...
ERROR:EDK:1191 - Error(s) while running DRCs for processor microblaze_0.
make: *** [microblaze_0/lib/libxil.a] Error 2
Done!

 

So I unchecked two RX and TX "Checksum offlod for TEMAC" options in Ethernet MAC IP Core, I then resynthesized. But I still get the error above. Any thoughts?

 

0 Kudos
vsiva
Xilinx Employee
Xilinx Employee
6,924 Views
Registered: ‎01-18-2008
check your lwIP configuration in your MSS to see if you've enabled checksum offload in lwIP.

View solution in original post

aminfar1
Explorer
Explorer
5,575 Views
Registered: ‎01-09-2009

Thanks for your help. got fixed.

 

I am now trying to trim some functions of C programs in order to make the XAPP1026 code smaller. But it seems like that there is no way to fit lwIP on a 256KB on-chip memory. Has any one done that before? any idea?

0 Kudos
naz56
Visitor
Visitor
5,046 Views
Registered: ‎05-22-2010

 

hi

 

in SYSTEM.MSS file there is no option for enabling checksum.

 

 

BEGIN LIBRARY
 PARAMETER LIBRARY_NAME = lwip130
 PARAMETER LIBRARY_VER = 1.00.b
 PARAMETER PROC_INSTANCE = microblaze_0
 PARAMETER api_mode = SOCKET_API
END

0 Kudos