图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. sql substring charindex

    substring(s1,int,int) 截取字符串,起始位置,截取个数,返回截取后的字符串 charindex(s1,s2)查找字符s1在s2中的位置.返回int位置 SELECT substri ...

  2. PHP - __clone 对象克隆

    <?php /** * 此例子解释什么是深克隆. * 克隆学生类. */ class Student { public $name = '张三'; public $age = 12; //所属老 ...

  3. ThinkPHP - 登录流程

    数据库: /* Navicat MySQL Data Transfer Source Server : 本地连接 Source Server Version : 50710 Source Host : ...

  4. [Swust OJ 322]--东6宿舍灵异事件(中缀表达式转化为后缀表达式的简单运用)

    题目链接:http://acm.swust.edu.cn/problem/322/ Time limit(ms): 1000 Memory limit(kb): 65535     Descripti ...

  5. vsftpd安装

    原文连接:史上最详细的vsftpd配置文件讲解: http://www.9170.org/post-322.html 参考博文:centos启用ftp功能:http://os.51cto.com/ar ...

  6. POJ 1159 回文LCS滚动数组优化

    详细解题报告可以看这个PPT 这题如果是直接开int 5000 * 5000  的空间肯定会MLE,优化方法是采用滚动数组. 原LCS转移方程 : dp[i][j] = dp[i - 1][j] + ...

  7. NET Core 1.0

    VS Code从零开始开发调试.NET Core 1.0 使用VS Code 从零开始开发调试.NET Core 1.0. .NET Core 是一个开源的.跨平台的 .NET 实现. VS Code ...

  8. (未解决)在JSTL中,session 和 sessionScope 有什么区别 ??

    在JSP页面中,使用JSTL标签获取Session中的值并显示 为何当使用 ${session.user} 时,页面跳转后,第一次能够成功显示, 但是单击按钮重定向的时候,就获取不到了? 而使用 ${ ...

  9. [Andriod官方API指南]连接之蓝牙

    Bluetooth —— 蓝牙 The Android platform includes support for the Bluetooth network stack, which allows ...

  10. 前端上传组件 - Plupload

    http://www.cnblogs.com/KTblog/p/4740852.html 效果: 起始界面. ------------- 可以上上传单个文件. ------------- 可以上传多个 ...