Avnet Zynq-7000 AP SoC User manual

Zynq®-7000 AP SoC / Analog Devices
Intelligent Drives Kit II
Getting Started Guide
Version 1.2

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 2
Revision History
DATE
VERSION
REVISION
07/31/15
1.0
First release \ MB
08/10/15
1.1
Pointed to ADI wiki for SD card image archive
10/07/15
1.2
Updated broken references to figures. Added instruction to use
DHCP router for connecting to the internet.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 3
AVNET DESIGN KIT TECHNICAL
SUPPORT FILES AND DOWNLOADS
WEB ACCESS INSTRUCTIONS
Thank you for purchasing an Avnet design kit. The technical support documents associated with this kit, including the User Guide,
Bill of Materials, Schematics, Source Code and Application Notes, are available online. You, the Customer, can access these
documents at any time by visiting Avnet’s Design Resource Center (“DRC”) at: www.em.avnet.com/drc/support
On your first visit to the DRC, You will be required to site register before you can download the documents. To get started, select the
name of the manufacturer associated with your design kit from the drop down menu. A complete listing of avail¬able design kits will
appear. Select the kit you purchased. Scroll to the bottom of the design kit page to access the support files. Before you download a
file, you will be prompted to login. If you are an existing user, please login. If you are a new user, click on the “Need to sign-up?”
text. Please complete the short registration form. Upon completion, be sure to retain your login and password information for future
visits to Avnet’s DRC. Logging in once, gives you unlimited access to all technical support files and downloads. You will also have
the chance to request e-mail notifications whenever there are updates to your design kit.
LICENSE AGREEMENT
THE AVNET DESIGN KIT (“DESIGN KIT” OR “PRODUCT”) AND ANY SUPPORTING DOCUMENTATION (“DOCUMENTATION”
OR “PRODUCT DOCUMENTATION”) IS SUBJECT TO THIS LICENSE AGREEMENT (“LICENSE”). USE OF THE PRODUCT OR
DOCUMENTATION SIGNIFIES ACCEPTANCE OF THE TERMS AND CONDITIONS OF THIS LICENSE. THE TERMS OF THIS
LICENSE AGREEMENT ARE IN ADDITION TO THE AVNET CUSTOMER TERMS AND CONDITIONS, WHICH CAN BE VIEWED
AT www.em.avnet.com. THE TERMS OF THIS LICENSE AGREEMENT WILL CONTROL IN THE EVENT OF A CONFLICT.
1. Limited License. Avnet grants You, the Customer, (“You” “Your” or “Customer”) a limited, non-exclusive, non-transferable,
license to: (a) use the Product for Your own internal testing, evaluation and design efforts at a single Customer site; (b) create
a single derivative work based on the Product using the same semiconductor supplier product or product family as used in the
Product; and (c) make, use and sell the Product in a single production unit. No other rights are granted and Avnet and any
other Product licensor reserves all rights not specifically granted in this License Agreement. Except as expressly permitted in
this License, neither the Design Kit, Documentation, nor any portion may be reverse engineered, disassembled, decompiled,
sold, donated, shared, leased, assigned, sublicensed or otherwise transferred by Customer. The term of this License is in
effect until terminated. Customer may terminate this license at any time by destroying the Product and all copies of the Product
Documentation.
2. Changes. Avnet may make changes to the Product or Product Documentation at any time without notice. Avnet makes no
commitment to update or upgrade the Product or Product Documentation and Avnet reserves the right to discontinue the
Product or Product Documentation at any time without notice.
3. Limited Warranty. ALL PRODUCTS AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY
KIND. AVNET MAKES NO WARRANTIES, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THE PRODUCTS AND
DOCUMENTATION PROVIDED HEREUNDER. AVNET SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY AGAINST INFRINGEMENT
OF ANY INTELLECTUAL PROPERTY RIGHT OF ANY THIRD PARTY WITH REGARD TO THE PRODUCTS AND
DOCUMENTATION.
4. LIMITATIONS OF LIABILITY. CUSTOMER SHALL NOT BE ENTITLED TO AND AVNET WILL NOT LIABLE FOR ANY
INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND OR NATURE, INCLUDING,
WITHOUT LIMITATION, BUSINESS INTERRUPTION COSTS, LOSS OF PROFIT OR REVENUE, LOSS OF DATA,
PROMOTIONAL OR MANUFACTURING EXPENSES, OVERHEAD, COSTS OR EXPENSES ASSOCIATED WITH
WARRANTY OR INTELLECTUAL PROPERTY INFRINGEMENT CLAIMS, INJURY TO REPUTATION OR LOSS OF
CUSTOMERS, EVEN IF AVNET HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE PRODUCTS AND
DOCUMENTATION ARE NOT DESIGNED, AUTHORIZED OR WARRANTED TO BE SUITABLE FOR USE IN MEDICAL,
MILITARY, AIR CRAFT, SPACE OR LIFE SUPPORT EQUIPMENT NOR IN APPLICATIONS WHERE FAILURE OR
MALFUNCTION OF THE PRODUCTS CAN REASONABLY BE EXPECTED TO RESULT IN A PERSONAL INJURY, DEATH
OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. INCLUSION OR USE OF PRODUCTS IN SUCH EQUIPMENT
OR APPLICATIONS, WITHOUT PRIOR AUTHORIZATION IN WRITING OF AVNET, IS NOT PERMITTED AND IS AT
CUSTOMER’S OWN RISK. CUSTOMER AGREES TO FULLY INDEMNIFY AVNET FOR ANY DAMAGES RESULTING
FROM SUCH INCLUSION OR USE.
5. LIMITATION OF DAMAGES. CUSTOMER’S RECOVERY FROM AVNET FOR ANY CLAIM SHALL NOT EXCEED
CUSTOMER’S PURCHASE PRICE FOR THE PRODUCT GIVING RISE TO SUCH CLAIM IRRESPECTIVE OF THE
NATURE OF THE CLAIM, WHETHER IN CONTRACT, TORT, WARRANTY, OR OTHERWISE.
6. INDEMNIFICATION. AVNET SHALL NOT BE LIABLE FOR AND CUSTOMER SHALL INDEMNIFY, DEFEND AND HOLD
AVNET HARMLESS FROM ANY CLAIMS BASED ON AVNET’S COMPLIANCE WITH CUSTOMER’S DESIGNS,
SPECIFICATIONS OR IN¬STRUCTIONS, OR MODIFICATION OF ANY PRODUCT BY PARTIES OTHER THAN AVNET,
OR USE IN COMBINATION WITH OTHER PRODUCTS.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 4
7. U.S. Government Restricted Rights. The Product and Product Documentation are provided with “RESTRICTED RIGHTS.” If
the Product and Product Documentation and related technology or documentation are provided to or made available to the
United States Government, any use, duplication, or disclosure by the United States Government is subject to restrictions
applicable to proprietary commercial computer software as set forth in FAR 52.227-14 and DFAR 252.227-7013, et seq., its
successor and other applicable laws and regulations. Use of the Product by the United States Government constitutes
acknowledgment of the proprietary rights of Avnet and any third parties. No other governments are authorized to use the
Product without written agreement of Avnet and applicable third parties.
8. Ownership. Licensee acknowledges and agrees that Avnet or Avnet’s licensors are the sole and exclusive owner of all
Intellectual Property Rights in the Licensed Materials, and Licensee shall acquire no right, title, or interest in the Licensed
Materials, other than any rights expressly granted in this Agreement.
9. Intellectual Property. All trademarks, service marks, logos, slogans, domain names and trade names (collectively “Marks”) are
the properties of their respective owners. Avnet disclaims any proprietary interest in Marks other than its own. Avnet and AV
design logos are registered trademarks and service marks of Avnet, Inc. Avnet’s Marks may be used only with the prior written
permission of Avnet, Inc.
10. General. The terms and conditions set forth in the License Agreement or at www.em.avnet.com will apply notwithstanding any
conflicting, contrary or additional terms and conditions in any purchase order, sales acknowledgement confirmation or other
document. If there is any conflict, the terms of this License Agreement will control. This License may not be assigned by
Customer, by operation of law, merger or otherwise, without the prior written consent of Avnet and any attempted or purported
assignment shall be void. Licensee understands that portions of the Licensed Materials may have been licensed to Avnet from
third parties and that such third parties are intended beneficiaries of the provisions of this Agreement. In the event any of the
provisions of this Agreement are for any reason determined to be void or unenforceable, the remaining provisions will remain in
full effect.This constitutes the entire agreement between the parties with respect to the use of this Product, and supersedes all
prior or contemporaneous understandings or agreements, written or oral, regarding such subject matter. No waiver or
modification is effective unless agreed to in writing and signed by authorized representatives of both parties. The obligations,
rights, terms and conditions shall be binding on the parties and their respective successors and assigns. The License
Agreement is governed by and construed in accordance with the laws of the State of Arizona excluding any law or principle,
which would apply the law of any other jurisdiction. The United Nations Convention for the International Sale of Goods shall not
apply.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 5
INTRODUCTION
The Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II is a flexible platform for high performance motor
control and industrial networking development. The kit is based on the Avnet ZedBoard™using the Xilinx Zynq-7000
All Programmable SoC. The kit features the Analog Devices AD-FMCMOTCON2-EBZ FMC high performance servo
drive module, providing two axis motor drive up to 48 Volts at 20 Amps, precision motor phase current and voltage
measurements, isolated power regulation, isolated signaling, and dual Gigabit Ethernet IEEE1588 PHYs for real-time
Ethernet connectivity.
This Getting Started Guide describes the steps to set up the Zynq Intelligent Drives Kit II (ZIDK-II) and run the out-of-
box demonstration.
For detailed information on ZedBoard, including tutorials, reference designs and board details please visit the website
ohttp://www.ZedBoard.org
For detailed information on the Analog Devices AD-FMCMOTCON2-EBZ FMC high performance servo drive module,
including schematics, bill of materials, board file, and reference design source code please visit the wiki page.
ohttp://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz
What’s Inside the Box
Avnet ZedBoard 7020 baseboard
oZynq-7000 SoC XC7Z020-CLG484-1
o512 MB DDR3
o256 Mb Spansion® Quad-SPI Flash
oOnboard USB-JTAG Programming
o10/100/1000 Ethernet
oUSB OTG 2.0 and USB-UART
oFMC expansion (low pin count)
o12V power supply
oMultiple display options (Analog Devices ADV7511 1080p HDMI, 12-bit VGA, 128 x 32 OLED)
o4 GB SD card programmed with a simple Linux image that demonstrates basic capabilities of ZedBoard
Analog Devices high-performance servo FMC Module
oDrive 2 BLDC / PMSM / Brushed DC / Stepper motors up to 48 V @ 20
oAD7403 Isolated 20 MHz Σ-Δ modulators for precise voltage and current measurement
oADuM5000/7640 power and digital signal isolation
oADuM5230 Isolated Half-Bridge Driver for High Frequency Switching
oIntegrated over-current and reverse-voltage protection
oDual Gigabit IEEE1588 Ethernet PHYs for high speed industrial communication
oIsolated Xilinx XADC interface
oSensored or sensoreless position measurement
oEncoder support includes BISS, EnDAT, Hall Sensor, and resolver
o8 GB SD card programmed with ADI FMCMOTCON2 Base Reference Design
Zynq reference design for motor control featuring Analog Devices Ubuntu Linux framework

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 6
FAT32 partition: bootloader, devicetree blob and kernel image for system boot to UBUNTU Linux
EXT4 partition Linaro Ubuntu ARM root file system, Analog Devices IIO Oscilloscope
o24V power supply for FMC module motor drive stage
Brushless DC motor
oHall Sensors and 1250 CPR indexed encoder
Ethernet, HDMI, and USB cables
USB dongle (male micro-B to female standard-A)
Xilinx Vivado® Design Edition (device locked to XC7Z020)
Optional Analog Devices Dynamometer
oIncluded with AES-ZIDK2-ADI-DYNO-G
oProvides a compact, dynamically adjustable load system
oIncludes one drive motor directly coupled to one load motor (generator)
oLoad motor is controlled by DYNO2 on-board electronics, or by direction connection to FMCMOTCON2

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 7
GETTING STARTED WITH ZYNQ
INTELLIGENT DRIVES KIT II
The Zynq-7000 AP SoC / Analog Devices Intelligent Drives Kit II (ZIDK-II) comes with a ‘Getting Started’ motor
control demonstration design flashed onto the 8GB SD card, which enables a single-board computer on the Avnet
ZedBoard running UBUNTU desktop Linux. The system includes programmable logic-based interfaces and ARM-
based Linux drivers for the Analog Devices High Performance Servo Solution on the FMC module.
Overview of the Motor Control Reference Design
The out-of-box reference design demonstrates Trapezoidal Control (6-step) of a 3-phase brushless DC motor. This
controller executes in the Programmable Logic (PL) of Zynq, while Linaro Ubuntu Desktop Linux runs user
applications on the Zynq ARM processors, and communicates with the Zynq PL via AXI4-Lite and AXI4 DMA
channels.
Digital PWM signals are driven from the Zynq SoC to the MOSFET driver stage on the FMCMOTCON2 module in
order to deliver power to the motor. For each motor, AD7403 Sigma-Delta modulators sample two analog motor
phase currents and each DC voltage bus, returning serial digital bit streams to the Zynq SoC to be reconstructed
with SINC3 low pass filters. The rotor position can be captured a variety of ways with the FMCMOTCON2 on-board
circuitry, including rotary, Hall sensor, and resolver interfaces. In this reference design Hall Sensors communicate
position to the Zynq SoC for absolute position and speed estimation. All signals between the Zynq SoC and
FMCMOTCON2 are digitally isolated. Finally, an HDMI monitor, mouse, and keyboard may be connected to
ZedBoard to view system signals and enter control parameters using the ADI IIO Oscilloscope Linux application. A
block diagram of the system design is shown below.
More details about the design, including source code, can be found at:
http://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 8
Figure 1 - Zynq Intelligent Drives Kit II Reference Design - Simplified Block Diagram
Current Monitor - Implements the communication with the AD7403 sigma delta modulators on the AD-
FMCMOTCON2-EBZ and also the SINC3 filters for demodulating the 1-bit digital stream provided by these parts.
This HDL block exposes a set of registers that can be accessed through the AXI Lite interface. A FIFO interface
connected to a DMA controller allows the block to stream real time data to the application layer. An ADC PACK IP is
used so that 1, 2 or all channels can stream data at a time.
Motor Controller - Implements the interface to the IP control blocks in the system. A FIFO interface connected to a
DMA controller allows the block to stream real time data to the application layer. It implements a basic six point drive
of the motor. An ADC PACK block is used so that 1, 2, 4 or all channels can stream data at a time.
Speed Detector - Implements the algorithm for converting Hall, BEMF and Encoder signals into speed and position
data. This HDL block exposes a set of registers that can be accessed through the AXI Lite interface. A FIFO interface
connected to a DMA controller allows the block to stream real time data to the application layer.
GMII to RGMII - Converts the GMII interface from the two Ethernet cores from the PS7 block to RGMII interface that
is available on the FMC Controller Board. The IP allows for the RX pins to be on different I/O Banks.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 9
Demo Preparations
The 8 GB SD card, labeled with Analog Devices logo, is factory-programmed with the Zynq
firmware, Linux kernel image, user-space application software and file system for a stand-
alone bootable system. There are several bootable Zynq designs on the SD card, so the
first step is to copy the image for ZedBoard Motor Control into the boot directory.
1. Insert the SD Card labeled with Analog Devices logo into a laptop or PC.
2. Open the folder named zynq-zed-adv7511-fmcmotcon2
3. Copy files BOOT.BIN and devicetree.dtb into the SD card root directory.
4. Safely eject the SD card and insert into ZedBoard (under FMC connector J1).
Note: the pre-formatted image on the SD card may be 6 or more months old. Therefore you will need to run an update
script after the system is booted. This will be described in later steps.
Figure 2 - Insert the SD Card
Demo Requirements
Accessories required for this demonstration, which are not included in the kit:
HDMI monitor and cable
USB mouse
USB keyboard
USB hub (3 or more ports)

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 10
Hardware Setup
Follow these steps closely to connect and configure the hardware to run the design.
1. IMPORTANT: Set the ZedBoard FMC IO voltage jumper to 2.5V to avoid any damage to the AD-
FMCMOTCON1-EBZ.
Figure 3 - Setting ZedBoard FMC IO Voltage to 2.5V
2. Set the ZedBoard boot-mode jumpers to boot from the SD card:
Figure 4 - Setting boot-mode jumpers to boot from the SD card

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 11
Assemble the kit as shown below:
Figure 5 –Hardware Setup
3. Connect the power sources as shown
12V DC plugs into ZedBoard
24V DC plugs into FMCMOTCON1 module (P4)
optional: 5V DC plugs into the Dynamometer (P3 under the metal bezel)
4. Connect an HDMI cable to ZedBoard and a monitor with at least 720p resolution.
5. Connect the motor Hall Sensor and phase leads as shown in Figure 5-3. These connections are the same
whether connecting a standalone motor or the motor housed in the AD-DYNO2-EBZ fixture. The 5-wire
cable permanently attached the motor is connected to the internal Hall Sensors.
6. The FMCMOTCON2 emergency stop switch (S2) shown in Figure 5-4 must be toggled to the “UP” position
to enable the power MOSFETs. Press the ‘Power Stage Reset’ once to clear the latch for the protection
circuit.
7. Connect the included USB dongle to the USB OTG port, and then attach a USB mouse and keyboard
through a USB hub (not included).
8. Provide internet connection by attaching the Ethernet cable to one of the ports on FMCMOTCON2 (P11 or
P13) and a networked router with DHCP. This is required to download and install the latest design updates.
9. Turn ZedBoard power switch (SW8) to ON.
10. Wait approximately 45 seconds for Linux to boot and display on your monitor. The Analog Devices IIO
oscilloscope application will launch automatically.
Updating the Reference Design [ CRITICAL STEP ]
The pre-formatted image on the SD card may be 6 or more months old. Therefore you will need to run a simple
update script to retrieve the latest files from the ADI wiki. This will be performed in-system using Linux, which was
booted on ZedBoard in the previous steps. The process takes more than a few minutes to complete, so please be
patient.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 12
The SD card contains a FAT32 partition with multiple boot files for different Zynq target platforms. The SD card also
contains an ext4 partition containing the persistent Linux file system. Both partitions will be updated in the following
steps.
Figure 6 –Linux & Zynq Boot update application icons
1. Wait ~45 seconds for Linux to boot and display on your monitor.
2. Double-click the ADI Update Tools desktop icon to automatically download the latest version of ADI Linux
applications.
3. Double-click the ADI Update Boot desktop icon to automatically download the latest version of Zynq boot
files.
4. Restart the system using the Log Out desktop icon.
Note: If these steps fail it may indicate that your office firewall has blocked access to the ADI wiki site. In that case
see the instructions at the end of this document for re-imaging your SD card with the most recent archive hosted on
GitHub.
More details on this update process can be found on the Analog Devices wiki “Zynq Quick Start Guide”
http://wiki.analog.com/resources/tools-software/linux-software/zynq_images
Running the Demo
With the ZIDK-II hardware connected and firmware updated you are ready to run the Zynq motor control design.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 13
Figure 7 –Linux Desktop with ADI IIO Oscilloscope
1. In the ADI IIO Oscilloscope window select the Motor Control tab.
2. If the included BLY171 or BLY172 motor is connected, be sure to check the box for a Delta wound motor.
Note: in this example, only one motor will be driven however 2 motors may be controlled with this design.
Figure 8 –Controlling the motors with IIO Oscilloscope
3. Check the ‘Run’ box in the IIO Scope to start the motor spinning in open loop, under control of the 6-step
HDL code running in the Zynq PS.
NOTE: If the motor does not start spinning, verify that step 6 in Hardware Setup was completed
(Emergency stop is UP; press Power Stage Reset once)

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 14
4. Control the PWM rate delivered to the motor by using the up/down arrows or entering a % value in the box.
5. In the ADI IIO Oscilloscope –Capture 1 window select the voltage samples to display.
ad-mc-adc
voltage 0
Not used
voltage 1
motor 1, phase current IA
voltage 2
motor 1, phase current IB
voltage 3
motor 1, DC voltage VBUS
ad-mc-speed
voltage 0
Motor 1 speed. Number of counts in 10ns units between two motor
commutations. In order to display the speed in RPM, right-click on
voltage 0 and check the 1/x option and multiply by 25.000.000
ad-mc-ctrl
Not used
6. Press the Capture/Stop button to begin sample acquisition.
Figure 9 - ADI IIO Oscilloscope waveform viewer
Dynamometer (optional)
A compact dynamometer (“dyno”) may be purchased with the Zynq Intelligent Drives Kit II. The dyno provides a test
fixture to dynamically apply a load to the motor. A 3-phase MOSFET bridge, under command of an integrated digital
controller, adjusts the resistance seen at the phase leads of the load motor. Optionally, the load motor may be
connected to FMCMOTCON2 to be directly driven from Zynq. An LCD and 3 push buttons on board the dyno provide
a user interface to dynamically change load profiles and view measurement of the load motor speed and current.
More details, including schematics, bill of materials, and board files can be found at the Analog Devices wiki.
ohttp://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz/hardware/dyno

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 15
Figure 10 - Dyno2 Image and System Diagram
In order interface the Dyno with external control signals:
Slide switch S2 to EXT_CTRL position
Connect to the P1 header pins
Figure 11 - Dyno2 Connections

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 16
The signals available to the Analog Discovery are:
Dyno Signal
Description
I_A
Phase A motor current (185mv/A)
I_B
Phase B motor current (185mv/A)
PWM1
Phase A PWM (3.3V levels)
PWM2
Phase B PWM (3.3V levels)
PWM3
Phase C PWM (3.3V levels)
Congratulations!
You have now run the Getting Started demonstration with the Zynq-7000 AP SoC / Analog Devices Intelligent Drives
Kit II. Using this fully functional framework with embedded LINUX, you may now develop your motor control
applications.
For more detailed information about the Analog Devices AD-FMCMOTCON2-EBZ module or this reference design,
please visit their User’s Guide wiki at:
http://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz
Restoring the SD Card image
During the course of development, should the 8 GB SD card become corrupted or otherwise need to be restored to a
known good state, the directions below will restore the factory image.
These steps will overwrite the contents of the SD card, so be certain that there is no existing data that needs to be
retrieved from the SD card prior to following these steps.
The following directions were performed on a Windows 7 Professional machine, but the commands should work in a
similar manner with later versions of Windows.
1. Download the image archive from the Analog Devices wiki site listed below. The instructions in this document
assume that the archive is downloaded to a temporary folder which on this example system is under the
C:\work\ directory.
http://wiki.analog.com/resources/tools-software/linux-software/zynq_images
2. Power down ZedBoard and remove the 8 GB SD card. Insert the SD card into the Windows PC.
Note: The provided image file is a byte-for-byte copy of an 8 GB SD card. Ensure the size of your target SD card
is an 8 GB device.
3. Open a Windows Command Prompt session with Administrator privileges by right clicking the
StartAccessoriesCommand Prompt menu item and selecting the Run as administrator option.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 17
Figure 12 - Opening the Windows Command Prompt with Administrator Privileges
4. If multiple partitions exist on the SD card, each of the partitions should be removed using the diskpart utility.
This will enable the entire SD card block range to be utilized for writing the image. Launch the diskpart tool from
the Windows Command Prompt.
> diskpart
Figure 13 - Launching Microsoft DiskPart
5. Discover the disk number of the SD card device by using the list disk DiskPart command. In this example, the
SD card device is enumerated as the Disk 1 device.
DISKPART> list disk
Figure 14 - Listing the Enumerated Disk Devices

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 18
6. Select the disk listing that matches the SD card device using the select disk DiskPart command. In this
example, the SD card device is enumerated as the Disk 1 device. If the SD card is listed as a different disk on
your system, be sure to substitute the appropriate value here.
WARNING: Selecting the incorrect disk at this point can corrupt critical data on your local machine,
be sure to check that the selected disk value is the intended device.
DISKPART> select disk 1
7. List the partitions on the currently selected SD card using the list partition DiskPart command.
DISKPART> list partition
Figure 15 - Listing the Partitions on the Selected SD Card
8. Remove the partitions from the currently selected SD card using the clean DiskPart command.
DISKPART> clean
9. Exit the DiskPart tool.
DISKPART> exit
10. Extract the image contents of the archive obtained from Step 1 above using an xz compatible utility such as 7-
Zip.
11. Launch a disk imaging utility such as Win32 Disk Imager.
12. Select the source image file, for example 2014_R2-2015_04_24.img, and choose the target drive device. In this
example, the image is located in the C:\work\ folder and the target SD card is assigned to the G:\ drive.

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 19
Figure 16 - Source Image File Selected
13. (Optional) Verify the integrity of the extracted image file using the Win32 Disk Imager MD5 Hash tool by clicking
on the checkbox option. The checksum calculation may take a few minutes.
14. Click the Write button to begin writing the source image file contents to the SD card. The SD imaging process
can take around 20 to 30 minutes to complete the 8GB transfer.
15. Use Windows “safely remove” to eject the SD card.
Figure 17 - Windows “safely remove” to eject the SD card
This concludes the procedure of re-imaging the SD card. Return to the beginning of this document for
instructions on preparing and running the design.
C:/work/ 2014_R2-2015_04_24.img

Version 1.2
Zynq®-7000 AP SoC / Analog Devices Intelligent Drives Kit II 20
Additional Documentation and Support
To access the most current collateral for the Zynq-7000 SoC / Analog Devices Intelligent Drives Kit II please visit the
product website:
http://zedboard.org/product/zynq-idk-ii
http://www.em.avnet.com/zynq-idk-ii
To access the Avnet Technical Community Forums, please visit the following web page:
http://www.zedboard.org/support
Analog Devices AD-FMCMOTCON2-EBZ high-speed analog module user guide and wiki:
http://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz
To search the Xilinx database of silicon and software questions and answers or to create a technical support case
in WebCase, see the Xilinx website:
http://www.xilinx.com/support
Next Steps
Ensure Xilinx Vivado Design Edition is installed on your computer. A voucher for licensing the Xilinx software is
included with this kit. For technical support, including the installation and use of a product license file, contact Xilinx
Online Technical Support at http://www.support.xilinx.com
Download Zynq embedded system source files for this Getting Started demonstration design as a starting point for
your system customization.
1
http://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz
Consult the Zynq-7000 SoC / Analog Devices Intelligent Drives Kit II product website for notification of technical
training.
ohttp://zedboard.org/product/zynq-idk-ii
1
Zynq embedded system source files are available for subsequent customization of the reference design, but are not
required to run this Getting Started demonstration. The system is stand-alone bootable from the SD card provided
with the kit, which includes the bitstream within the BOOT.BIN file in the FAT32 partition.
Table of contents
Other Avnet Computer Hardware manuals