install support for xilinx devices -凯发k8网页登录

main content

install support for xilinx devices

you can use the soc blockset™ with xilinx® devices by installing soc blockset support package for xilinx devices. specifically, this support package enables you to work with the linux® environment on the embedded arm® processor, fpga, and memory on xilinx devices.

install, update, or uninstall support package

install support package

  1. on the matlab® home tab, in the environment section, select add-ons > get hardware support packages.

  2. in the add-on explorer window, click the support package and then click install.

update support package

on the matlab home tab, in the resources section, select help > check for updates.

uninstall support package

  1. on the matlab home tab, in the environment section, click add-ons > manage add-ons.

  2. in the add-on manager window, find and click the support package, and then click uninstall.

hardware setup

before you can use the features in the soc blockset support package for xilinx devices, you must establish communication between the host and the hardware board. after the installer completes the support package installation, it guides you through establishing communication with the hardware board.

if the support package is already installed, you can start the hardware setup by opening the add-on manager.

on the matlab tool bar, from the add-ons menu, select manage add-ons.

in the add-on manager, start the hardware setup process by clicking the setup button, .

follow the instructions on each page of the hardware setup window. when the hardware setup process completes, you can open the examples to get familiar with the product and its features.

the setup process includes these steps:

  • download and install the third-party tools required for the soc blockset support package for xilinx devices.

  • install a customized version of embedded operating system (os) image on the hardware board.

  • specify which hardware board you are using.

  • configure the network interface card in the host computer (for zynq® soc boards only).

  • write firmware for the hardware board to an sd card (for zynq soc boards only).

  • configure your hardware board to start up from the sd card (for zynq soc boards only).

  • connect your hardware board to the host computer.

  • verify the connection between host and hardware board (for zynq soc boards only).

notes

  • the host computer can be a desktop or a laptop. it must have at least one dedicated gigabit ethernet network interface card (nic) for connecting to the hardware.

  • these instructions assume that you are installing the support package on only one computer and have only one nic.

  • 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. it can interfere with communication to the zynq hardware.

  • because the software runs os commands for configuring the nic, you might require administrator privileges for the hardware setup. start matlab using run as administrator.

  • if you are running 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.

download and install third-party tools

the guided setup wizard displays the list of the third-party tools required for the soc blockset support package for xilinx devices. in the guided setup, click install to automatically install the required tools.

third-party tools installation step in setup.

download and install avnet rfsoc explorer

this step displays the avnet® rfsoc explorer required for the block. to automatically install the explorer, click install. if you have a pre-installed version of explorer, you can verify the installation by clicking verify. if you do not intend to work with the otava dtrx2 block, skip the installation process by clicking next.

avnet rfsoc explorer installation step in setup.

select embedded os image

this step installs a customized version of the embedded os image on the hardware board. you can either install a new mathworks® firmware image or update an existing firmware image.

install the new mathworks firmware image to use mathworks embedded os firmware image with your hardware board. this options removes any existing software from the sd or mmc card.

embedded os image selection step in setup. option to install new firmware image.

update your existing firmware image to use your own embedded image. this option opens the os customizer tool. use this tool to update the embedded os image running on the hardware board with the required software for use with matlab or simulink®.

embedded os image selection step in setup. option to update an existing firmware image.

select hardware board

choose your hardware board from the list. for the full list of supported boards, see .

hardware selection step in setup.

select network configuration

this step is required only when you select a zynq soc board.

this step configures the host computer so that it can communicate with the hardware board.

connect to lan or home network.  this option applies the dynamic network settings provided by a dynamic host configuration protocol (dhcp) service on the network.

network configuration step on host computer. option to connect to lan or home network.

connect directly to development computer.  this option applies the static network settings based on the network settings of the host computer.

network configuration step on host computer. option to connect directly to host computer.

manually enter network settings.  this option allows you to manually enter the network settings.

network configuration step on host computer. option to manually enter the network settings.

select a drive and load firmware

this step is required only when you select a zynq soc board.

the installer writes a firmware image to the sd card. this firmware image is included with the support package. the image includes the embedded software and the fpga programming file for using the hardware as an i/o peripheral.

this step selects the location of the sd drive containing the card. before downloading the firmware image to the card, unlock the sd card. keep the card unlocked while the card is in the card reader of the hardware board.

insert a 4 gb or larger sd card into the card reader on the host computer. the card must be formatted with fat32 format. select the appropriate drive from the list.

select drive containing sd card.

write firmware to sd card

this step is required only when you select a zynq soc board.

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.

write the firmware to the sd card.

set jumper switches

this step is required only when you select a zynq soc board.

configure the jumpers on the zynq soc 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.

sw11 jumper positions on zc706.  use these jumper settings for the zc706 board. to learn more about the settings, see the board documentation.

switchswitch position
1down
2down
3up
4up
5down

sw11 switch and pin positions on the zc706 board

jumper positions on zedboard.  use these jumper settings for the zedboard™. to learn more about the settings, see the board documentation.

switchswitch position
1down
2up
3up
4down
5down

jumper positions on the zedboard

sw6 switch positions on zcu102.  use these jumper settings for the zcu102 board. to learn more about the settings, see the board documentation.

switchswitch position
1up
2down
3down
4down

sw6 switch positions on the zcu102 board

sw6 switch positions on zcu111.  use these jumper settings for the zcu111 board. to learn more about the settings, see the board documentation.

switchswitch position
1up
2down
3down
4down

sw6 switch positions on the zcu111 board

sw2 switch positions on zcu216.  use these jumper settings for the zcu216 board. to learn more about the settings, see the board documentation.

switchswitch position
1up
2down
3down
4down

sw6 switch positions on the zcu216 board

sw2 switch positions on zcu208.  use these jumper settings for the zcu208 board. to learn more about the settings, see the board documentation.

switchswitch position
1up
2down
3down
4down

sw6 switch positions on the zcu208 board

connect hardware

after you have set up the board, follow the instructions for connecting the hardware board. these steps are labeled in the pictures of each board. wait until you see the leds indicating the readiness of the hardware board. then, wait an additional 20 s for the board to boot its operating system and set up communication with the host machine. you see a green steady light. if the leds do not light up as indicated after one minute, press the reset switch and restart the board.

connect zc706, zedboard, or zcu102 board

  1. remove the sd card from the host computer and insert it into the hardware board.

  2. configure the jumpers on the hardware 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.

  3. connect a usb cable between the usb-uart port on the hardware board and the host computer.

  4. connect an ethernet cable to the hardware board.

  5. (optional) connect a usb cable between the jtag port on the hardware board and the host computer.

  6. connect the power cable and turn on the power.

connect zc706 board

zc706 hardware connections

connect zedboard

zedboard hardware connections

connect zcu102 board

zcu102 hardware connections

connect zcu111, zcu216, or zcu208 board

  1. remove the sd card from the host computer and insert it into the hardware board.

  2. configure the jumpers on the hardware 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.

  3. connect a usb cable to the hardware board.

  4. connect an ethernet cable to the hardware board.

  5. connect the power cable and turn on the power.

connect zcu111 board

zcu111 hardware connections

connect zcu216 or zcu208 board

zcu216 or zcu208 hardware connections

connect standalone fpga boards

  1. connect the power cable and turn on the power.

  2. connect a jtag download cable to the board.

connect arty board

arty hardware connections

connect kc705 board

kc705 hardware connections

verify setup

this step is required only when you select a zynq soc board.

the guided setup runs a small example to test the hardware connection. before running the example, ensure that the board is turned on.

verify configuration of your zynq board

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.

open examples

when the installer completes your hardware setup, you can either exit the installer or open the examples to get started.

hardware setup complete, open the examples.

网站地图