Before you can use the features in this support package, you must establish communication between the host and the hardware. After the installer completes the support package installation, it guides you through establishing communication with the hardware.
If the support package is already installed, you can start the hardware setup by opening the Add-On Manager.
In the Add-On Manager, start the hardware setup process by clicking the Gear icon, .
The guided setup wizard assists you in these setup steps:
Specify which board you are using.
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.
Because the software runs OS commands for configuring the network card, you might require administrator privileges for the guided hardware setup. If that is the case, start MATLAB® using Run as administrator.
The guided setup wizard displays a checklist of the hardware to have ready. To confirm that you have the hardware required to complete the process, review this list and keep it nearby during installation.
If you do not use an Ethernet adapter that supports full Gigabit Ethernet throughput, captured video frames can be corrupted.
Do not connect or turn on the board until you are prompted at a later step. Click Next.
Choose your hardware from the list. The page displays your selected hardware.
Select the NIC that you want to connect with the hardware.
The list displays the connected network interface cards (NIC)
detected on your computer. The menu options note each NIC as
(Available). The installer marks
a NIC as
(In Use) when the NIC is connected to
a device and an IP address is assigned to it.
If you do not see your NIC listed, click Refresh to trigger the NIC detection and refresh the list. Refreshing the list is useful when, for example, you plug in a USB Ethernet adapter dongle while viewing this pane.
If all the NICs listed are in use, free up a NIC for use with the hardware, and then click Refresh.
If the NIC list is empty, it is possible that VMWare software, if present, is interfering with NIC detection. To get an accurate list of NICs on your computer, remove the VMWare.
Check if the missing NIC is disabled in the control panel. If it is disabled, enable it.
Optionally, specify an IP address for your board.
If you have already configured the NIC, select Skip this step if your network card is already configured for communicating with the hardware.
Click Next. The software configures the NIC.
Next, the installer must write an FPGA image to an SD card. This FPGA image is included with the support package. It includes the embedded software and the FPGA programming file necessary for using the hardware as an I/O peripheral.
This step selects the location of the SD drive containing the card.
Unlock the SD card before downloading the firmware image to the card. Keep the card unlocked as long as the card is in the Zynq® board card reader.
Insert a 4 GB or larger SD memory card into the memory card reader on the host computer. The card must be formatted with FAT32 format. Select the appropriate drive from the list. If you have already downloaded the FPGA image, select Skip this step if your SD card is already configured with appropriate image for communicating with Zynq hardware.
To copy the programming file from the host computer to the SD card, click Write. Any existing data on the memory card is erased during this process.
When the write is complete, click Next.
If you chose to skip the SD card write in the previous step, the guided setup does not display this screen.
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.
SW1 Switch Positions
JTAG Select Jumper Positions
SW10 Jumper Positions
SW11 Jumper Positions
Set the pins as shown in the image. The pins are located near the Ethernet LEDs.
Follow the instructions for connecting all the vision hardware.
Connect PicoZed7030 Hardware
Connect ZC702 Hardware
Connect ZC706 Hardware
Connect ZedBoard Hardware
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.
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.
Click Next. The software verifies the hardware connection.
This page runs a small example to test the hardware connection. Before running the example, ensure that the board is turned on and indicating that it is ready for traffic (see the previous step).
If you have installed the Embedded Coder® Support Package for Xilinx® Zynq Platform, the setup tool also registers the root directory for cross-compilation at this step.
If you have not installed the Embedded Coder Support Package for Xilinx Zynq Platform, and you plan to target the ARM processor, you must perform an additional setup step after you install the Embedded Coder support package.
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.