cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to initialize USB OTG

Hello,

I am having difficulties initializing the USB OTG in the ST Ecosystem 3.1.0 with the STM32MP157C in the Octavo OSD32MP15x SiP. With the ST Ecosystem 2.1.0 there was no issue and the previous image still works on my development board. I only need the host mode because we have only an LTE module connected to it.

The kernel log says the device timeouted when probing.

dmesg |grep usb
[    0.112487] usbcore: registered new interface driver usbfs
[    0.112570] usbcore: registered new interface driver hub
[    0.112642] usbcore: registered new device driver usb
[    1.595777] usb33: supplied by regulator-dummy
[    1.648809] usbcore: registered new interface driver pegasus
[    1.648893] usbcore: registered new interface driver asix
[    1.648970] usbcore: registered new interface driver ax88179_178a
[    1.649033] usbcore: registered new interface driver cdc_ether
[    1.649112] usbcore: registered new interface driver smsc75xx
[    1.649192] usbcore: registered new interface driver smsc95xx
[    1.649265] usbcore: registered new interface driver net1080
[    1.649327] usbcore: registered new interface driver cdc_subset
[    1.649385] usbcore: registered new interface driver zaurus
[    1.649477] usbcore: registered new interface driver cdc_ncm
[    1.652573] usbcore: registered new interface driver usb-storage
[    1.666098] usbcore: registered new interface driver usbhid
[    1.666110] usbhid: USB HID core driver
[    1.892129] vdd_usb: supplied by vin
[    2.004922] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.006324] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[    2.006632] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[    2.028150] dwc2: probe of 49000000.usb-otg failed with error -110
[    2.029872] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[    2.029935] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 1
[    2.030427] ehci-platform 5800d000.usbh-ehci: irq 61, io mem 0x5800d000
[    2.057802] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[    2.061717] ohci-platform 5800c000.usbh-ohci: Generic Platform OHCI controller
[    2.061767] ohci-platform 5800c000.usbh-ohci: new USB bus registered, assigned bus number 2
[    2.062443] ohci-platform 5800c000.usbh-ohci: irq 55, io mem 0x5800c000
[    2.757744] usb 2-1: new full-speed USB device number 2 using ohci-platform
[    7.386603] usbcore: registered new interface driver cdc_acm

To generate the device tree I used the STM32CubeMX 6.5.0 after migrating from 6.1.0.

Since the USB works fine with the older Ecosystem I assume that it is only an SW problem. I have already tried quite a few DTS configurations but without success. Did anyone encounter this issue? Any advice will be appreciated.

Best regards,

Tomas

10 REPLIES 10

Hello @Tom�? Ju?ena​ ,

Good news :).

Yes, as explained in AN5031, it should work with BYPASS_REG1V8 connected.

Thanks for the explanation, it will help other people.

Best Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.