U-Boot USBOTG device mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U-Boot USBOTG device mode

1,476 Views
chuey714
Contributor I

Hi All,

We are working on our custom board that uses an iMX7D and are having issues with USB device mode in U-Boot. We are trying to mount the on board storage device (eMMC) to the USB. On the SABRE board, the storage device enumerates on a laptop but not with our custom board.

This is what we do:

=> usb start
starting USB...
USB0:   Port not available.
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
=> ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0xece000
At this point the progress indicator keeps spinning but nothing enumerates and then we cancel with CTRL-C.
Thanks in advance
Juan
Labels (2)
0 Kudos
Reply
2 Replies

957 Views
igorpadykov
NXP Employee
NXP Employee

Hi Juan

one can check USB_ID signal, it should be low in host mode

and high or float in device mode.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

957 Views
chuey714
Contributor I

Yes, ID line is floating while trying to mount the eMMC to USB.

0 Kudos
Reply