Console, JTAG and XVC Operation
Front Panel JTAG Switch Options
The CTP7 has two JTAG chains, one for the Atmel MMC, and one for the Xilinx Zynq and Virtex 7 devices. There is a JTAG port on the front panel and a switch controlling which of the two JTAG chains is active. This switch should generally be left in the bottom position during standard operation.
In normal non-XVC operation this switch and the status LED behave as follows:
Switch Position | LED Color | Console | JTAG |
---|---|---|---|
Top | Magenta | Atmel | Atmel |
Middle | Yellow | Atmel | Xilinx |
Bottom | Dark | Xilinx | Xilinx |
When the switch is in the middle or bottom position, the XVC service can be used. When XVC is active, the Xilinx JTAG chain is divided and the configuration is as follows:
Switch Position | LED Color | Console | JTAG | XVC |
---|---|---|---|---|
Top | Magenta | Atmel | Atmel | None |
Middle | Yellow | Atmel | Zynq | Virtex 7 |
Bottom | Red | Xilinx | Zynq | Virtex 7 |
The XVC service does not function when the JTAG selector switch is in the top position.
Console Baud Rates
The Zynq (Xilinx) serial console runs at 115200 baud.
The MMC (Atmel) serial console runs at 19200 baud.
MMC Console via Zynq
It is also possible for the root user to access the MMC console from the Zynq linux when the JTAG switch is in the bottom position. To do so, run the following command to connect to the console.
microcom -s 19200 /dev/ttyPS1
You should then type Control-R
to reset the MMC's serial input handler, after
which you may use the MMC console normally.
When you have finished, you may type Control-X
to exit the console session.
XVC Operation
-
The XVC service is not active by default, and must be started when required. Log in to the card via ssh and run the following command. Substitute the IP address of the system you intend to connect from. If you do not know it, you may enter an invalid address. Non-matching connection attempts will be reported on the console.
xvc 192.168.1.4
-
Open Vivado's Hardware Manager tool and enter the following commands in the TCL console:
connect_hw_server -url localhost open_hw_target -xvc_url eagle1:2542
Note that in the first command,
localhost
should not be substituted. This is the address of the hw_server instance Vivado will use, and Vivado will automatically manage the one at localhost.Substitute
eagle1
for the address of the card you wish to talk to. XVC functions properly over SSH port forwarding if the system you are working on is not connected directly to the crate network. When you are finished using XVC, close the hardware server in Vivado and exit the xvc application on the card.