/
USB Debug Guide for Zynq UltraScale+ and Versal Devices

USB Debug Guide for Zynq UltraScale+ and Versal Devices

This page demonstrate the overview of how to debug PS USB controller on Versal & ZynqMP platforms.

Table of Contents

Basic checks before debugging further

Observing the failure:

  • Host mode - Run the below command to check whether pendrive detected or not.

      lsusb

  • Device mode - Need to check this below node is created or not

   /sys/class/udc/*/uevent

Diagnosis:

Guidelines on debugging USB runtime failures

  • Check hardware design

  • USB driver logs

  • Dynamic debug

  • ftrace (function tracer)

  • USB register dump

  • USB protocol analyzer trace

USB Hardware Design

  • Review schematics

  • Review PCB layout - Refer to Xilinx pcb guidelines recommendations

Versal -