1. 程式人生 > >Zynq 平臺執行SDK程式錯誤以及解決方法

Zynq 平臺執行SDK程式錯誤以及解決方法

今天除錯了一下Zynq的PL和PS部分,所用的平臺是Miz702 。PL部分還算順利,但是PS部分出現了一些問題:

問題1:在SDK程式編譯通過後,點選RUN 出現以下錯誤:Zynq MMU page translation fault

我的解決方法:把SD卡拔掉或者選擇Reset Entire System 而不是選擇Reset Process

問題2:剛開始是可以正常執行的,有一次修改完程式碼後,重新編譯,出現 No Target with ID 64 in the System

解決方法:關掉當前的SDK工程,在Vivado裡重新啟動SDK,新建工程。問題解決!原因暫時不知道。

更新時間2015-12-3 13:20:18

不選擇紅框有時會出錯


配置正確的log資訊如下:

Launching XSDB server: xsdb.bat -s D:/Xilinx/SDK/2015.2/scripts/xsdb/xsdb/xsdb-server.tcl
13:09:02 INFO: XSDB server has started successfully.
13:09:04 INFO: Processing command line option -hwspec F:/Miz702/Miz702_code/Miz702_use_AXI_MGPO_AXI_GPIO/AXI_MGPO_AXI_GPIO_TEST/AXI_MGPO_AXI_GPIO_TEST.sdk/AXI_GPIO_TEST_wrapper.hdf.
13:09:06 INFO: Checking for hwspec changes in the project AXI_GPIO_TEST_wrapper_hw_platform_0.
13:09:31 INFO: Connected to target on host '127.0.0.1' and port '3121'.
13:09:31 INFO: 'targets -set -filter {jtag_cable_name =~ "Platform Cable USB 00000000000000" && level==0} -index 1' command is executed.
13:09:40 INFO: FPGA configured successfully with bitstream "F:/Miz702/Miz702_code/Miz702_use_AXI_MGPO_AXI_GPIO/AXI_MGPO_AXI_GPIO_TEST/AXI_MGPO_AXI_GPIO_TEST.sdk/AXI_GPIO_TEST_wrapper_hw_platform_0/AXI_GPIO_TEST_wrapper.bit"
13:10:01 INFO: ps7_init is completed.
13:10:01 INFO: ps7_post_config is completed.
13:10:01 INFO: Processor reset is completed for ps7_cortexa9_0

問題2其它解決方法(留著以後用):

1.

Is this a Win7 PC? Do you recall getting the Firewall warnings? Did you make sure to check the boxes to Allow Access? You can check this with the following steps:

  1. Open Control Panel
  2. Select Windows Firewall
  3. Select "Allow a program or feature through Windows Firewall"
  4. Look for "eclipse"
    • You should have an entry for each version of Xilinx tools you have installed. Select and click Details to see which version is which. I have both Domain and Home/Work boxes checked.
  5. 2013.4 and prior have entries for hw_server
  6. Look for "Java(TM) Platform SE binary"
  7. Look for "rdi_xmd" for 2014.1 and newer
  8. 2013.3 has an entry for vcse_server
  9. 2013.4 and prior have entries for "xmd"

 
We have heard of corrupt Xilinx tool installs from users who installed from an archive that wasn't cross-checked with the checksum. Did you check the archive checksum before installing?
 
Have you tried the command-line XMD advice given to you on the Xilinx forums?
http://forums.xilinx.com/xlnx/board/crawl_message?board.id=EMBEDDED&mess...
 
Bryan

2.One more thought -- did you modify the Run Configuration to NOT source the initialization TCL? That would be bad.

3.Within the SDK once you have created an application right click on the application in the Project Explorer pane on the left. Select either "Run As" or "Debug As" and select 'Configurations. In the "Target Setup" tab in the configuration you can make sure that "Run ps7_init" is checked.