Mass-Storage: USB Polled/Interrupt mode example

Baremetal Drivers and Libraries

Release Date
2023-07-07

Mass storage profile can be tested by compiling xusbpsu_ch9_storage.c , xusbpsu_ch9_storage.h , xusbpsu_ch9.c , xusbpsu_ch9.h , xusbpsu_class_storage.c , xusbpsu_class_storage.h , xusbpsu_intr_example.c/xusbpsu_poll_example.c files together

USB 2.0 Peripheral Mode

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

Testing procedure

  • Download and run the generated USB 2.0 example ELF on board

  • Debug prints you can see on com port(Teraterm/putty) the below prints should be seen on com port

  • Connect board to standard host(Windows/Linux)machine USB 2.0 port.

Expected Output

  • You will get a pop-up window on the Window machine for formatting the size 256MB After the format complete you can copy a file to the USB device

USB 3.0 Peripheral Mode

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

Testing procedure

  • Download and run the generated USB 3.0 example ELF on board

  • Debug prints you can see on com port(Teraterm/putty) the below points should be seen on com port

  • Connect board to standard host(Windows/Linux)machine USB 3.0 port.

Expected Output

  • You will get a pop-up window on the Window machine for formatting the size 256MB After the format complete you can copy a file to the USB device