Before you can use the features in this support package, you must establish communication between the host and the hardware. The Add-On Manager provides an automatic setup process described in Guided Setup for Vision Hardware. Alternatively, to complete the setup process manually, follow these instructions.
The host computer can be a desktop or a laptop. It must have at least one dedicated Gigabit network interface card (NIC) for connecting to the hardware.
The manual setup instructions cover these steps:
Configure the network card in the host machine.
Copy programming files for the board to an SD card.
Configure your board to start up from the SD card.
Connect your hardware to the host machine.
Verify the connection between host and hardware.
Notes
These instructions assume that you are installing on only one computer and have only one NIC.
These instructions assume that you have already installed the support package. See Install Support Package for Xilinx Zynq-Based Hardware.
You can use a USB3 to Gigabit Ethernet LAN adapter instead of a NIC. The instructions are the same.
Do not connect or turn on the board until you are prompted.
Turn off antivirus, firewall, or other port blocking software, because it can interfere with communication to the Zynq® hardware.
If you require administrator privileges to complete the setup, start MATLAB® using Run as administrator.
If you are running a utility software to configure the network (typically done on laptops), exit or uninstall the software. This type of software can interfere with the network configuration required to perform this setup.
Confirm that you have the hardware required to complete the setup and configuration process.
Zynq development board (ZCU102, PicoZed™ 7030, ZC702, ZC706, or ZedBoard™)
HDMI I/O card (FMC-HDMI-CAM or FMC IMAGEON)
Dedicated Gigabit network card or a USB 3.0-Gigabit Ethernet adapter dongle
SD card and SD card reader
Ethernet cable
Note
If you do not use an Ethernet adapter that supports full Gigabit Ethernet throughput, captured video frames can be corrupted.
Configure the host computer so that it can communicate with the hardware.
This setup requires a dedicated Gigabit Ethernet card for the hardware.
If you also want simultaneous internet access, and you do not have a wireless connection, your host computer requires a second Ethernet card.
Use an Ethernet cable for connecting your hardware to the Ethernet card on your host computer.
Configure the Ethernet card for your operating system, either Configure Windows or Configure Linux.
Configure the Ethernet card for your hardware.
From the Start menu, click Control Panel.
Set View by to
Category.
Click Network and Internet.
Click Network and Sharing Center.
On the left pane, click Change adapter settings.

Right-click the local area network connection that is connected to the hardware and select Properties.
If an unused NIC is available, the local area connection appears as
Unidentified network.
If you plan to repurpose your NIC, select the local area connection that you plan to use for the hardware.
If you have only one NIC, check if you can connect wirelessly to the existing local area network. If you can, you can use the NIC for the hardware.
You can use a pluggable USB to Gigabit Ethernet LAN adapter instead of a NIC. The instructions are the same.
On the Networking tab of the Properties dialog box, clear all options except Internet Protocol Version 4 (TCP/IPv4). Other services can cause intermittent connection problems with the hardware.
Double-click Internet Protocol Version 4 (TCP/IPv4).
On the General tab, select Use the following IP Address.
Determine the correct address for your board. The default IP address of the
board is 192.168.4.2. The subnet,
that is, the first three octets of the host IP address must match the IP
address of the board.
Set the host IP address, for example 192.168.4.1.
Leave the subnet mask set to the default value of
255.255.255.0.
Click OK.
When you finish configuring the IP address, go to Step 3. Load Firmware. Download the FPGA image before you attempt to communicate with the hardware.
Set the host Ethernet interface so that it has a static IP address. This configuration enables communication with the development board.
Determine the correct address for your board. The default IP address of the
board is 192.168.4.2. The subnet,
that is, the first three octets of the host IP address must match the IP
address of the board.
Set the host IP address, for example 192.168.4.1, and set
the subnet mask to 255.255.255.0. Set these values using the
ifconfig command.
% sudo ifconfig ethZ 192.168.4.1 netmask 255.255.255.0 up
In this syntax, eth is the
name of the host Ethernet port. This name is usually eth0,
eth1, and so on.Z
To use the sudo command, you might need to enter a
password.
To confirm the changes, enter the following command in the shell:
%ifconfig ethZ
eth is the name of the host
Ethernet port you set in the previous step.Z
Insert a 4 GB or larger SD memory card into the memory card reader on the host computer. The card must be formatted with a FAT32 file system. If your SD card is already configured with an appropriate image for the hardware, skip this step.
Note
Unlock the SD card before downloading the firmware image to the card. Keep the card unlocked while the card is in the Zynq board card reader.
Insert the SD card into the SD card reader on the host computer.

At the MATLAB command prompt, use these commands to write the card image. This
example shows a Linux® path. If you are using Windows®, replace the path of the drive with the letter of the card
slot, such as E:.
spkgRootDir = visionzynq.internal.getSpPkgRootDir; boardType = 'ZC706'; % or 'Zedboard' or 'ZC702' projName = ['visionzynq-',lower(boardType),'-hdmicam']; sdcardDir = fullfile(spkgRootDir,'bin','target','sdcard',projName); drive = '/dev/sda' ; % specify the drive path copyfile(sdcardDir,drive,'f');
Configure the jumpers on the Zynq development board so that you can use it as a peripheral device. These jumper settings make it so that the board starts up from the SD card. Make sure that the board is turned off.
The jumper settings are different for each board.
SW6 Switch Positions
| Switch | Switch Position |
|---|---|
| 1 | Up |
| 2 | Down |
| 3 | Down |
| 4 | Down |

SW1 Switch Positions
| Switch | Switch Position |
|---|---|
| 5 | Right |
| 6 | Right |

JTAG Select Jumper Positions
| Switch | Switch Position |
|---|---|
| Top | Left |
| Bottom | Right |
SW10 Jumper Positions
| Switch | Switch Position |
|---|---|
| 1 | Down |
| 2 | Down |
| 3 | Up |
| 4 | Up |
| 5 | Down |

SW11 Jumper Positions
| Switch | Switch Position |
|---|---|
| 1 | Down |
| 2 | Down |
| 3 | Up |
| 4 | Up |
| 5 | Down |
Pins
Set the pins as shown in the image. The pins are located near the Ethernet LEDs. |

Jumper Positions
| Switch | Switch Position |
|---|---|
| 1 | Down |
| 2 | Up |
| 3 | Up |
| 4 | Down |
| 5 | Down |

Follow these instructions for connecting the hardware. These steps are labeled in the pictures of each board.
Remove the SD memory card from the host computer and insert it into the Zynq board.
Plug the HDMI FMC card into the FMC connector on the Zynq board.
Connect an Ethernet cable to the board. Connect the other end of the Ethernet cable to the network card selected previously.
Connect the power cable.
Connect the HDMI cable between the HDMI-Out port on the Zynq board and a monitor.
Connect the HDMI cable between the HDMI-In port on the Zynq board and an HD camera.
Turn on the power.
Wait until you see the LEDs indicating the readiness of the hardware. Then, wait an additional 20 s for the board to boot its operating system and set up communication with the host machine.
| Board | Ready Lights |
|---|---|
| ZCU102 (near push buttons) | DONE (Green, steady) |
PicoZed 7030 (on carrier board, near JA1 PMOD connector) |
FPGA DONE (Blue, steady) |
| ZC702 (near cell battery) | DONE (DS3) (Green, steady) |
| ZC706 (near power switch) | DONE (Green, steady) |
|
ZedBoard (near DIP switches) | LD12-DONE (Blue, steady) |
If the LEDs do not light up as indicated after one minute, press the reset switch and restart the board.
Connect ZCU102 Hardware

Connect PicoZed 7030 Hardware

Connect ZC702 Hardware

Connect ZC706 Hardware

Connect ZedBoard Hardware

Note
You can connect optional peripherals now, such as a monitor or keyboard.
To test the hardware connection, create a visionzynq object. Specify
the board you have installed as an input argument. You can optionally specify an IP
address that the object assigns to the board. By default, the board is assigned
'192.168.4.2'. If the object cannot connect to the board, it
returns an error.
visionzynq('ZC706 FMC-HDMI-CAM')If the configuration is correct and the connection is successful, you see a status
message for the visionzynq object.
ans =
visionzynq
Device Information:
DeviceName: 'ZC706 FMC-HDMI-CAM'
DeviceAddress: '192.168.4.2'
Username: 'root'
Password: 'root'
Port: 22
If the connection is not successful, the most common reasons are that the board is not connected properly or it is not turned on. Check the cable connections and power switch and try again.
To confirm you can capture video data into Simulink®, run the Getting Started with Vision Zynq Hardware example. Observe the video display in Simulink, and optionally on an HDMI output connected to the board.
If you plan to generate embedded code for the processor on the Zynq device, you must register the root directory for cross-compilation and create a connection to the Zynq board. Follow the additional steps in Setup for ARM Targeting.