新聞中心

EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 總結(jié)LX110T的板子上跑demo的時(shí)候遇到的一些錯(cuò)誤的解決辦法

總結(jié)LX110T的板子上跑demo的時(shí)候遇到的一些錯(cuò)誤的解決辦法

作者: 時(shí)間:2018-08-03 來(lái)源:網(wǎng)絡(luò) 收藏

前一段時(shí)間在玩xilinx送我在跑XUPV5-,首先跑xilinx給出的XUPV5-的demo設(shè)計(jì),結(jié)果發(fā)現(xiàn)遇到了一些錯(cuò)誤但是自己在網(wǎng)上發(fā)現(xiàn)很少有答案,就把自己的一些總結(jié)貼出來(lái):

本文引用地址:http://2s4d.com/article/201808/385257.htm

(1)xupv5_bsb_std_ip時(shí)出現(xiàn)了問題,其錯(cuò)誤描述如下:

[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!

看到了這個(gè)問題,首先要學(xué)會(huì)自己找,上面明顯提示是lwip出錯(cuò),我們看一下datasheet就會(huì)發(fā)現(xiàn): 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

? 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文件為主線,那就行動(dòng)吧

解決辦法:在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:11.1EDKswProcessorIPLibdriverscpu_v1_11_bsrc to

ERROR: Error while running Copy Files for processor microblaze_0...

make: *** [microblaze_0/lib/libxil.a] Error 2

Done!

解決辦法:到桌面右鍵單擊我的電腦,選擇屬性,再選擇高級(jí)這一欄,單擊環(huán)境變量,在新彈出的環(huán)境變量對(duì)話框下,單擊系統(tǒng)變量的新建按鈕,輸入變量名:CYGWIN

在變量值中輸入:nontsec,單擊OK,重新啟動(dòng)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.

官方給出的答復(fù)是忽略這個(gè)錯(cuò)誤。

(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!


上一頁(yè) 1 2 下一頁(yè)

關(guān)鍵詞: LX110T DEMO Xilinx

評(píng)論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉