Main Content

copyImageToHostSDCardPath

Copy board-specific SD card image files to host SD card location

Since R2020a

Description

copyImageToHostSDCardPath(BoardName,SDCardDrive) copies the SD card image files of the specified board to the specified SD card drive location on the host system. The SD card image files contain a bootloader and the suitable operating system information. Also, this function copies the server daemon for handling the AXI manager host commands on the target SoC device.

copyImageToHostSDCardPath(BoardName,SDCardDrive,Name,Value) specifies options using one or more name-value arguments. For example, 'DeviceAddress','192.168.0.8' sets the internet protocol (IP) address of the target SoC device.

Input Arguments

collapse all

Targeted SoC board name, specified as one of these values.

  • 'Agilex7SoC'Intel Agilex® 7 FPGA I-Series Transceiver-SoC Development Kit

  • 'VCK190' — AMD® Versal® AI Core Series VCK190 Evaluation Kit

  • 'ZC702' — AMD Zynq®-7000 ZC702

  • 'ZC706' — AMD Zynq-7000 ZC706

  • 'ZedBoard' — AMD Zynq ZedBoard™

  • 'ZCU102' — AMD Zynq UltraScale+™ MPSoC ZCU102 Evaluation Kit

  • 'ZCU111' — AMD Zynq UltraScale+ RFSoC ZCU111 Evaluation Kit

  • 'ZCU216' — AMD Zynq UltraScale+ RFSoC ZCU216 Evaluation Kit

Data Types: char | string

Name of SD card drive location on the host computer, specified as a character vector or string scalar.

Example: 'G:' for Windows® operating system

Example: '/media/username/261D-2F2B' for Linux® operating system

Data Types: char | string

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: copyImageToHostSDCardPath('ZC706','G:','SDCardImage','C:\mywork\hdlv_prj\sdcard_image\zc706_sdcard_zynq7000');

IP address of the target SoC device, specified as a character vector, string scalar, or 1-by-2 cell array. The target IP address must be a set of four numbers consisting of integers in the range [0, 255] that are separated by dots.

The default IP address for the Ethernet interface is '192.168.0.2'. The default IP address for the USB Ethernet interface is '192.168.1.2'.

Note

AXI manager supports the USB Ethernet interface for only the AMD devices.

Example: '192.168.0.8'.

Interface TypeDeviceAddress ValueData TypeExample
Ethernet onlyIP address of the Ethernet port on the SoC deviceCharacter vector or string scalar'192.168.0.8'
USB Ethernet onlyIP address of the USB Ethernet gadget on the SoC device, followed by usb0/Character vector or string scalar'usb0/192.168.3.2'
Both Ethernet and USB Ethernet

Cell 1 — IP address of the Ethernet port on the SoC device

Cell 2 — IP address of the USB Ethernet gadget on the SoC device, followed by usb0/

The order of these cells does not matter.

1-by-2 cell array of character vectors or string scalars{'192.168.3.2','usb0/10.10.10.4'} or {'usb0/10.10.10.4','192.168.3.2'}

The host network interface card (NIC) address must be on the same subnet as the target SoC device.

Example: If you specify this value as '192.168.0.8', the host NIC address can be 192.168.0.x, where the variable x is any integer in the range [1, 7] and [9, 255].

Data Types: char | string | cell array

Gateway for the network interface, as a character vector or string scalar. The gateway must be a set of four numbers consisting of integers in the range from [0, 255] that are separated by dots.

Example: '192.168.0.4'

Data Types: char | string

SD card image to copy, specified as a character vector or string scalar. Use this name-value pair argument to copy a custom SD card image.

The default SD card image is the SD card files that come with the HDL Verifier™ support package.

Example:

Data Types: char | string

Version History

Introduced in R2020a