前一段时间在玩xilinx送我在跑XUPV5-LX110T,首先跑xilinx给出的XUPV5-LX110T的demo规划,成果发现遇到了一些过错可是自己在网上发现很少有答案,就把自己的一些总结贴出来:
(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_0\libsrc\lcd_ip_v1_00_a\
ERROR:Failed to copy
D:\..\drivers\lcd_ip_v1_00_a\src\ to
D:\..\microblaze_0\libsrc\lcd_ip_v1_00_a\
Copying files for driver cpu_v1_11_b from
D:\Xilinx\11.1\EDK\sw\XilinxProcessorIPLib\drivers\cpu_v1_11_b\src\ 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:\Xilinx\sample\xupv5_bsb_std_ip\xupv5_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:\Xilinx\sample\xupv5_bsb_std_ip\xupv5_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:\Xilinx\sample\xupv5_bsb_std_ip\xupv5_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:\Xilinx\sample\xupv5_bsb_std_ip\xupv5_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:\Xilinx\11.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_20_a\data\mic
roblaze_v2_1_0.mpd line 232 – floaTIng connecTIon!
WARNING:EDK:2099 – PORT:D_ADDRTAG CONNECTOR:dlmb_M_ADDRTAG –
D:\Xilinx\11.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_20_a\data\mic
roblaze_v2_1_0.mpd line 273 – floaTIng connecTIon!
WARNING:EDK:2099 – PORT:HostMiimSel CONNECTOR:host_mii_sel –
D:\Xilinx\11.1\EDK\hw\XilinxProcessorIPLib\pcores\xps_ll_temac_v2_00_a\data\x
ps_ll_temac_v2_1_0.mpd line 264 – floating connection!