In order to use the dongle-less USB JTAG connections on the zc702/Zed Zynq boards, the Digilent Adept drivers must be installed on the host machine.
Installation
digilent.adept.runtime_2.10.2-x86_64
digilent.adept.utilities_2.1.1-x86_64
libusb1-1.0.8-0.1.el5.x86_64.rpm
Unpack digilent.adept.runtime_2.10.2-x86_64 and cd into directory
Install the runtime libraries
sudo ./install.sh
Install the FTDI device drivers included in the Adept Runtime package
cd ftdi.drivers_1.0.4-x86_64
Unpack digilent.adept.utilities_2.1.1-x86_64 and cd into directory
Install the utilities libraries
sudo ./install.sh
Install the libusb1-1.0.8-0.1.el5.x86_64.rpm package
sudo rpm -ivh libusb1-1.0.8-0.1.el5.x86_64.rpm
Device Connection
Plug in the device usb cable to the host.
Enumerate connected devices by executing:
Code Block |
---|
rdusr108:>djtgcfg enum Found 1 device(s) Device: Zed Product Name: Digilent Zed User Name: Zed Serial Number: 210248451299 |
Impact and xmd should now find the Digilent plugin and connect to the Zynq devices.
Edit Cable Name
If there are multiple devices with the same name connected to the same host, then assign each board a unique name using the dadutil command.
Code Block |
---|
dadutil setusr -d Zed --usr Zed1 |
This changes the device name from "Zed" to "Zed1".
XMD Connection
Using the device name from the djtgcfg command, connect via xmd using the xilinx plugin parameters
Code Block |
---|
XMD% connect arm hw -cable type xilinx_plugin modulename digilent_plugin modulearg Device=Zed JTAG chain configuration -------------------------------------------------- Device ID Code IR Length Part Name 1 4ba00477 4 Cortex-A9 2 03727093 6 XC7Z020 -------------------------------------------------- Enabling extended memory access checks for Zynq. Writes to reserved memory are not permitted and reads return 0. To disable this feature, run "debugconfig -memory_access_check disable". -------------------------------------------------- CortexA9 Processor Configuration ------------------------------------- Version.............................0x00000003 User ID.............................0x00000000 No of PC Breakpoints................6 No of Addr/Data Watchpoints.........1 Connected to "arm" target. id = 64 Starting GDB server for "arm" target (id = 64) at TCP port no 1234 |
Impact Connection
Open impact and execute the Boundary Scan.
Open Output->Cable Setup
Select the Digilent USB JTAG Cable in Communication Mode
Select the Zynq board in Port settings