当前位置: 代码迷 >> 综合 >> Zynq 平台运行SDK程序错误以及解决方法
  详细解决方案

Zynq 平台运行SDK程序错误以及解决方法

热度:36   发布时间:2024-01-06 18:02:44.0

今天调试了一下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.




  相关解决方案