总结LX110T的板子上跑demo的时候遇到的一些错误的解决办法
前一段时间在玩xilinx送我在跑XUPV5-LX110T,首先跑xilinx给出的XUPV5-LX110T的demo设计,结果发现遇到了一些错误但是自己在网上发现很少有答案,就把自己的一些总结贴出来:
本文引用地址:http://www.amcfsurvey.com/article/201808/385257.htm(1)xupv5_bsb_std_ip时出现了问题,其错误描述如下:
[xupv5_bsb_system.ucf(1110)]: NET xps_iic_0_Gpo_pin not found. Please
verify that:
1. The specified design element actually exists in the original design.
2. The specified object is spelled correctly in the constraint source file.
IOSTANDARD=LVCMOS33;> [xupv5_bsb_system.ucf(1111)]: NET xps_iic_0_Gpo_pin
not found. Please verify that:
1. The specified design element actually exists in the original design.
2. The specified object is spelled correctly in the constraint source file.
make: *** [__xps/xupv5_bsb_system_routed] Error 1
解决办法:打开xupv5_bsb_std_ip文件夹里面的xupv5_bsb_system.mhs文件,
在其80行的位置,将PORT xps_iic_0_Gpo_pin = xps_iic_0_Gpo, DIR = O, VEC = [31:31]注释掉(即在前面加上#即可)或删除。
在其551行的位置,将 PORT Gpo = xps_iic_0_Gpo注释掉(即在前面加上#即可)或删除。
保存该文件。
然后打开xupv5_bsb_std_ip文件夹里面的xupv5_bsb_system.ucf文件
在其1110行和1111行的位置,将Net xps_iic_0_Gpo_pin LOC=AK6; # DVI_RESET_B
Net xps_iic_0_Gpo_pin IOSTANDARD=LVCMOS33;两行删除或者注释掉。
保存该文件即可。
(2).Running DRCs for OSes, Drivers and Libraries ...
Runnning DRC for lwIP library...
ERROR:MDT - issued from TCL procedure ::sw_lwip_v3_00_a::lwip_drc line 12
lwip () - No Ethernet MAC cores are addressable from processor ppc440_0.
lwIP requires atleast one EMAC (xps_ethernetlite | xps_ll_temac) core.
ERROR:MDT - Error while running DRC for processor ppc440_0...
make: *** [ppc440_0/lib/libxil.a] Error 2
Done!
看到了这个问题,首先要学会自己找,上面明显提示是lwip出错,我们看一下datasheet就会发现: lwIP provides an easy way to add TCP/IP-based networking capability to an embedded systemlwip_v3_00_a in EDK provides adapters for the xps_ethernetlite and xps_ll_temac
Xilinx? Ethernet MAC cores, and is based on the lwIP stack version 1.2.0. This document
describes how to use lwip_v3_00_a to add networking capability to embedded software. 我们知道了它的作用,那就找吧,反正,xilinx里面是以mhs和mss文件为主线,那就行动吧
解决办法:在mss文件里找到# BEGIN LIBRARY
PARAMETER LIBRARY_NAME = lwip
PARAMETER LIBRARY_VER = 3.00.a
PARAMETER PROC_INSTANCE = microblaze_0
PARAMETER api_mode = SOCKET_API
END
将其注释掉或者删除。
(3).ERROR: Failed to add write permission for
D:..microblaze_0libsrclcd_ip_v1_00_a
ERROR:Failed to copy
D:..driverslcd_ip_v1_00_asrc to
D:..microblaze_0libsrclcd_ip_v1_00_a
Copying files for driver cpu_v1_11_b from
D:Xilinx11.1EDKswXilinxProcessorIPLibdriverscpu_v1_11_bsrc to
ERROR: Error while running Copy Files for processor microblaze_0...
make: *** [microblaze_0/lib/libxil.a] Error 2
Done!
解决办法:到桌面右键单击我的电脑,选择属性,再选择高级这一栏,单击环境变量,在新弹出的环境变量对话框下,单击系统变量的新建按钮,输入变量名:CYGWIN
在变量值中输入:nontsec,单击OK,重新启动XPS,重新编译即可。
(4).ERROR:EDK - D:Xilinxsamplexupv5_bsb_std_ipxupv5_bsb_system.mhs line 392 - PARAMETER C_LEFT_POS has value 7 which does not fall in the range (0:C_SPLIT-1), specified in MPD
ERROR:EDK - D:Xilinxsamplexupv5_bsb_std_ipxupv5_bsb_system.mhs line 393 - PARAMETER C_SPLIT has value 31 which does not fall in the range (1:C_SIZE_IN-1), specified in MPD
ERROR:EDK - D:Xilinxsamplexupv5_bsb_std_ipxupv5_bsb_system.mhs line 392 - PARAMETER C_LEFT_POS has value 7 which does not fall in the range (0:C_SPLIT-1), specified in MPD
ERROR:EDK - D:Xilinxsamplexupv5_bsb_std_ipxupv5_bsb_system.mhs line 393 - PARAMETER C_SPLIT has value 31 which does not fall in the range (1:C_SIZE_IN-1), specified in MPD
解决办法:This error can be safely ignored as it is being generated incorrectly. The project will implement.
官方给出的答复是忽略这个错误。
(5).WARNING:EDK:2099 - PORT:I_ADDRTAG CONNECTOR:ilmb_M_ADDRTAG -
D:Xilinx11.1EDKhwXilinxProcessorIPLibpcoresmicroblaze_v7_20_adatamic
roblaze_v2_1_0.mpd line 232 - floaTIng connecTIon!
WARNING:EDK:2099 - PORT:D_ADDRTAG CONNECTOR:dlmb_M_ADDRTAG -
D:Xilinx11.1EDKhwXilinxProcessorIPLibpcoresmicroblaze_v7_20_adatamic
roblaze_v2_1_0.mpd line 273 - floaTIng connecTIon!
WARNING:EDK:2099 - PORT:HostMiimSel CONNECTOR:host_mii_sel -
D:Xilinx11.1EDKhwXilinxProcessorIPLibpcoresxps_ll_temac_v2_00_adatax
ps_ll_temac_v2_1_0.mpd line 264 - floating connection!
评论