图1

开发工具:Xilinx SDk 14.4(基于Eclipse,ISE suite 14.4组件之一)

开发板:Xilinx ZYNQ-7000 zc702 rev 1.0(注意:这个板子的版本说明也是至关重要的,因为我还发现了rev c版本,比rev 1.0少了个开关)

问题描述:

当对开发板进行Hello_world测试,用SDK通过JTAG对开发板调试,出现以下错误(截图如上)

could not find a ARM device on the board.Please check if the target is in:

1. Split JTAG mode – No operation are possible with ARM DAP

2. Non JTAG bootmode – Bootro may need time to enable DAP.Please try again

Troubleshooting hints:

1. Check whether board is connected to the system properly.

2. In case of zynq board,check whether Digilent/xilinx cable switch settings are correct.

3. If you are using Xilinx Platform cable USB,ensure that status LED is green.

=============================

由于这款板子是比较新的产品(ZYNQ-7000系类),关于开发基本流程、错误处理等资料比较少(其实更应该说本鸟比较菜),这么一个基本的板子测试都搞不定,最后在赖学长的帮助下,花了一个下午终于解决了,在此对学长表示感谢(浪费了他一下午)!

我犯的一个致命错误是,拿到一个开发板尤其是一个比较复杂的板并且从未涉及到的板子,首要任务就是到官网找相关资料,比如datasheet,userguide等等。userguide等文档很有可能会(如果是正规公司或者说这个公司不坑)一步一步教你如何入手,比如基本开发流程、用到的工具等等,这样会少走好多弯路。

学长从xilinx官网上果然找到了userguide,上面用的开发环境是ISE 14.1 suite 的PlanAhead工具,演示用的板子是Xilinx ZYNQ-7000 zc702 rev c ,本以为这样按部就班,完全按照UG的说明来就可以顺利通过,可是最后仍是出现Unable to connect to ps7_cortexa9错误。我们猜测是不是UG上的板子版本号、PlanAhead版本号与本机上的不同导致的,于是另从官网下载了PlanAhead 14.4的示例,里面用的板子正好是Xilinx ZYNQ-7000 zc702 rev 1.0,于是发现:

图2

用SDK14.4 对板子进行JTAG调试时,对应的开关与跳线设置必须是上图的设置。尤其注意SW16中的四个拨动开关必须同时拨到右侧。SW16可能是开发板的启动设置,datasheet说明如下:

图3

也就是说SW16全是0,才是JTAG调试模式,这样SDK下载.elf文件就不会报错了。

综上:

1、SDK run configuration前,确保开关与跳线如图2中红圈所示;

2、USB UART、JTAG都与PC机相连。

心得:

1、查阅官方文档,开发工具说明

2、相信学长

附件下载http://download.csdn.net/detail/sky_hiter/6410023

附件中的ctt有PlanAhead的开发流程,bd有ZC702的结构图解。

ZYNQ-7000 Unable to connect to ps7_cortexa9 解决方案的更多相关文章

  1. Can't create session svn: Unable to connect to a repository at URL “...”的解决方案

    Can't create sessionsvn: Unable to connect to a repository at URL '...' Cannot negotiate authenticat ...

  2. svn检出的时候报 Unable to connect to a repository at URL错误(摘自CSDN)

    背景:1.         SVN服务器:VisualSVN-Server-2.5.5: 2. SVN客户端:TortoiseSVN-1.7.6.22632-x64-svn-1.7.4.msi: 在S ...

  3. SVN Unable to connect to a repository at UR

    背景: 1.         SVN服务器:VisualSVN-Server-2.5.5: 2.         SVN客户端:TortoiseSVN-1.7.6.22632-x64-svn-1.7. ...

  4. RabbitMQ启动出错:- unable to connect to epmd on xxxx: timeout (timed out)

    yum install后启动rabbitmq报错: [root@www ~]# /etc/init.d/rabbitmq-server start Starting rabbitmq-server: ...

  5. RabbitMQ安装后启动出错:- unable to connect to epmd on blockstorage: timeout (timed out)

    具体出错信息如下: [root@blockstorage ~]# rabbitmqctl change_password guest RABBIT_PASS Changing password for ...

  6. [RabbitMQ]Error: unable to connect to node rabbit@compute1: nodedown(CentOS7.0)

    今天在搭建OpenStack的时候需要安装RabbitMQ,可是使用yum install rabbitmq-server安装之后,按照OpenStack官方提供的文档修改guest用户密码的时候却出 ...

  7. Genymotion-Android模拟器提示"Unable to connect to the Genymotion server. Please check your Internet connection."解决方法

    昨天刚装的Genymotion,昨晚还用得好好的. 今晚开机,重新打开Genymotion,却提示:"Unable to connect to the Genymotion server. ...

  8. UIAutomatorViewer 出现错误:Unable to connect to adb

    最近升级了AndroidSDK,打开UIAutomatorViewer.bat,结果发现获取不了Android设备界面上的UI信息.经过一番努力,终于把这个问题解决了,详细过程如下: 1. Unabl ...

  9. 【spring cloud】spring cloud2.X spring boot2.0.4调用feign配置Hystrix Dashboard 和 集成Turbine 【解决:Hystrix仪表盘Unable to connect to Command Metric Stream】【解决:Hystrix仪表盘Loading...】

    环境: <java.version>1.8</java.version><spring-boot.version>2.0.4.RELEASE</spring- ...

随机推荐

  1. UVA 1619 Feel Good(DP)

    Bill is developing a new mathematical theory for human emotions. His recent investigations are dedic ...

  2. iOS开发中两个不错的宏定义

    /** Synthsize a weak or strong reference. Example: @weakify(self) [self doSomething^{ @strongify(sel ...

  3. java反射机制入门01

    java反射机制入门是我从极客学院的视频中学习的. 1.反射机制背景概述 反射(Reflection)是java被视为动态(或准动态)语言的一个关键性质.反射机制指的是程序在运行时能够获取任何类的内部 ...

  4. JVM -- CMS

    并发的标记—清除(Concurrent Mark Sweep,缩写为 CMS)收集器,使得在整个收集的过程中只是很短的暂停应用的执行,可通过在 JVM 参数中设置-XX:UseConcMarkSwee ...

  5. Cin、Cout 加快效率方法

    std::ios::sync_with_stdio(false); 在main 函数中加上这么一句话. 可以打消iostream的输入输出缓存,可以节省许多时间,使效率与scanf与printf相差无 ...

  6. X-UA-Compatible是什么

    X-UA-Compatible是神马? X-UA-Compatible是IE8的一个专有<meta>属性,它告诉IE8采用何种IE版本去渲染网页,在html的<head>标签中 ...

  7. 一个RPC的demo

    从下面的例子中可以看到,Consumer(client)的代码中引用了Provider部分的class,本例中是 com.provider.EchoServiceImpl和com.provider.E ...

  8. 基于visual Studio2013解决算法导论之020单链表

     题目 单链表操作 解决代码及点评 #include <iostream> using namespace std; struct LinkNode { public: LinkNo ...

  9. 原生app与web app的比较

    http://www.2ee9.com/news/news_show_36_237.html http://zhidao.baidu.com/link?url=7lWq2tgqiMiDmsRd54hO ...

  10. CentOS6.5安全策略设置

    应公司内部网站等级测评的需求,正逐渐加强系统安全防护 密码策略设置 检查方法: 使用命令 #cat /etc/login.defs|grep PASS查看密码策略设置 备份方法: cp -p /etc ...