Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Zynq Ultrascale MPSoc Standalone USB device driver

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
Image Removed
Image Added

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
    Code Block
    themeMidnight
    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

    Image Removed Image Added

Performance Numbers

This below is the performance numbers for zynqmp USB 2.0 mass storage gadget when run using Standalone code.
Image Removed Image Added

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
Code Block
themeMidnight
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

    Image Removed Image Added

Performance Numbers

This below is the performance numbers for zynqmp USB 3.0 mass storage gadget when run using Standalone code.
Image Removed Image Added