On my customer's board, Zynq is second device on JTAG chain. On this board, JTAG cannot be connected from SDK GUI. When launching debugger by [Debug as] > [Launch on Hardware], connection fails with the following message:
> The device at 1 position cannot be debugged. It is either not a FPGA or PowerPC/ARM device.
It looks SDK cannot connect to Zynq when it is not the first JTAG device.
As a trial, the customer tried configuring JTAG ([Xilinx Tools] > [Configure JTAG settings]), but it did not solve the issue.
To debug with GDB/XMD, follow the steps below.
XMD% fpga -f xxxxx.bit -debugdevice deviceNr 3
XMD% connect arm hw debugdevice deviceNr 2Once the connection is established, you will see the following message:
Connected to "arm" target. id = 64
Starting GDB server for "arm" target (id = 64) at TCP port no 1234
XMD% source <path to TCL>/ps7_init.tcl
AR# 56781 | |
---|---|
日期 | 11/27/2013 |
状态 | Active |
Type | 综合文章 |
器件 | |
Tools |