按照书上的教程,写了一个流水灯的例子。先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的时候,按任意键,不要让系统进入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
+关注
关注
10文章
609浏览量
47174 -
SDK
+关注
关注
3文章
1034浏览量
45895
发布评论请先 登录
相关推荐
评论