按照書上的教程,寫了一個流水燈的例子。先Program FPGA,然后Run as -》 Launch on Hardware,就報下面錯誤:
16:22:28 ERROR : Unexpected error while launching program.
java.lang.RuntimeException: Error while running ps7_init method.
MMU page translation fault
at com.xilinx.sdk.targetmanager.internal.TM.run_ps7_init(TM.java:1069)
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.runTargetSetup(XilinxAppLaunchConfigurationDelegate.java:403)
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.runApplication(XilinxAppLaunchConfigurationDelegate.java:505)
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.launch(XilinxAppLaunchConfigurationDelegate.java:254)
解決方法是:
打開串口助手,Reset板子,啟動到u-boot的時候,按任意鍵,不要讓系統(tǒng)進(jìn)入Linux,只停留在uboot階段。如下,
U-Boot 2012.04.01-dirty (Jun 24 2013 - 10:59:35)
DRAM: 512 MiB
WARNING: Caches not enabled
MMC: SDHCI: 0
Using default environment
In: serial
Out: serial
Err: serial
Net: zynq_gem
Hit any key to stop autoboot: 0
然后,再lauch on hardware就OK了。
16:24:20 INFO : ps7_init is completed.
16:24:20 INFO : ps7_post_config is completed.
16:24:20 INFO : Processor reset is completed for ps7_cortexa9_0
-
Zynq
+關(guān)注
關(guān)注
10文章
609瀏覽量
47182 -
SDK
+關(guān)注
關(guān)注
3文章
1036瀏覽量
45948
發(fā)布評論請先 登錄
相關(guān)推薦
評論