Intel: On the Cyclone® V SoC FPGA development kit, when starting U-Boot v2013.01.01, the USB memory connected to the USB host cable (OTG cable) attached to the kit is not recognized. If you connect the USB Hub to the cable included in the kit and then connect the same USB memory, it will be recognized.

Cyclone SoC FPGAs

Category: SoCs
tool: -
Device: Cyclone® V SoC

In U-Boot 2013.01.01, by making the following two changes,

I was able to recognize it as a Storage device without a USB HUB.

It looks like there is some timing issue involved.


I changed the following line 1802 of dwc2_otg.c file of U-Boot 2013.01.01 from udelay(1) to mdelay(1).
Reason for change: Looking at the new version of U-Boot driver, the timeout time of the same polling process was 1000ms.
(Before change, polling ends in about 1us×1000=1ms)


Added processing equivalent to the patch in the link below (lines 110-119).
https://github.com/altera-opensource/u-boot-socfpga/commit/2bf352f0c1b7f58d4610bc0777e8febbd2dfd5ff#diff-e9b608ac366f6fa59ff3fb3a02643cd6fac15ff45bede8d658ef245f1e2f83d5

Execution result log after change:

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.