INTRODUCTION


The purpose of this page is to describe the Standalone USB driver solution for ZynqMp . The driver is for supporting USB
peripheral mode. This below mentioned information provides the information required for enabling Peripheral mode in Standalone. This document also provide the required jumper settings that are required for enabling Peripheral mode on ZCU102 board.

PERIPHERAL MODE

ZCU102 jumper settings for peripheral mode
J7 - open
J113 - 1-2
J110 - 1-2

Please refer the below image for jumper settings required for peripheral mode on zcu102 board

external image image2016-6-8%2014%3A40%3A39.png?version=1&modificationDate=1465377042579&api=v2

This document explains USB 2.0 & 3.0 peripheral mode standalone configurations for MASS STORAGE gadget profile.

USB 2.0 PHERIPHERAL MODE

The below gives the testing procedure of zynqmp USB standalone example which operates as a mass storage gadget on zcu102 board

Testing procedure

  • Import the zynqmp USB example to xsdk project, compile it and generate elf
  • Set zcu102 bootmode to JTAG
  • Download and run the FSBL required for zcu102
  • Wait for few seconds for the fsbl to complete exection
  • Download and run the USB 2.0 example ELF
  • Debug prints you can see on com port(Teraterm/putty)
    the below prints should be seen on com port
    Serial Port Log
    Xilinx Zynq MP First Stage Boot Loader
    Release 2016.1   May 13 2016  -  13:12:26
    Mass Storage Gadget Start...
  • Connect USB cable to host(Windows/Linux)machine USB 2.0 port.
    You will get pop-up window on Window machine for formatting the size 256MB
    After format complete you can copy file to usb device

    external image image2016-6-1%2015%3A58%3A57.png?version=1&modificationDate=1464776938678&api=v2

Performance Numbers

This below is the performance numbers for zynqmp USB 2.0 mass storage gadget when run using Standalone code.
external image image2016-8-26%2010%3A18%3A58.png?version=1&modificationDate=1472186940049&api=v2

USB 3.0 PERIPHERAL MODE

The below gives the testing procedure of zynqmp USB standalone example which operates as a mass storage gadget on zcu102 board

Testing procedure

  • Import the zynqmp USB example to xsdk project
  • For generating USB3.0 mass storage example ELF, please add “XUSBPSU_SUPER_SPEED” in xsdk C/C++ build setting , compile it and generate elf
  • Set zcu102 bootmode to JTAG
  • Download and run the FSBL required for zcu102
  • Wait for few seconds for the fsbl to complete exection
  • Download and run the USB 3.0 example ELF
  • Debug prints you can see on com port(Teraterm/putty)
    the below prints should be seen on com port
Serial Port Log
Xilinx Zynq MP First Stage Boot Loader
Release 2016.1   May 13 2016  -  13:12:26
Mass Storage Gadget Start...
  • Connect USB cable to host(Windows/Linux)machine USB 3.0 port.
    You will get pop-up window on Window machine for formatting the size 256MB
    After format complete you can copy file to usb device

    external image image2016-6-1%2015%3A58%3A57.png?version=1&modificationDate=1464776938678&api=v2

Performance Numbers

This below is the performance numbers for zynqmp USB 3.0 mass storage gadget when run using Standalone code.
external image image2016-8-26%2010%3A9%3A58.png?version=1&modificationDate=1472186400050&api=v2