TI中文支持网
TI专业的中文技术问题搜集分享网站

pdk5.0版本,am335x usb1接U盘没反应

项目中使用ti-processor-sdk-linux-am335x-evm-05.00.00.15版本开发包,调试USB1作为主站,dts如下

&usb0 {
status = "okay";
dr_mode = "host";
};

&usb1 {
status = "okay";
dr_mode = "host";
};

USB1_ID接地,USB_VBUS直接连5V电源,USB1_DP,USB1_DM直连Usb接口座子,menuconfig配置如下:

-*- SCSI device support

[ ] SCSI: use blk-mq I/O path by default  

 [*] legacy /proc/scsi/ support │ │ 
 *** SCSI support type (disk, tape, CD-ROM) ***
 <*> SCSI disk support 
 < > SCSI tape support 
 < > SCSI OnStream SC-x0 tape support
 < > SCSI CDROM support 
 <*> SCSI generic support

│ │ — USB support │ │ │ │ <*> Support for Host-side USB │ │ │ │ [*] PCI based USB host interface │ │ │ │ [ ] USB announce new devices │ │ │ │ *** Miscellaneous USB options *** │ │ │ │ [*] Enable USB persist by default │ │ │ │ [ ] Dynamic USB minor allocation │ │ │ │ [*] OTG support

│ │ <*> xHCI HCD (USB 3.0) support │ │ │ │ <*> Generic xHCI driver for a platform device │ │ │ │ <*> EHCI HCD (USB 2.0) support │ │ │ │ [*] Root Hub Transaction Translators │ │ │ │ [*] Improved Transaction Translator scheduling │ │ │ │ <*> EHCI support for OMAP3 and later chips │ │ │ │ <*> Generic EHCI driver for a platform device

内核启动后出现错误打印信息如下:

[ 1.390713] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.397328] ehci-pci: EHCI PCI platform driver
[ 1.402087] ehci-platform: EHCI generic platform driver
[ 1.407733] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.413215] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.419454] ohci-pci: OHCI PCI platform driver
[ 1.424043] ohci-platform: OHCI generic platform driver
[ 1.430130] usbcore: registered new interface driver usb-storage
[ 1.438906] #musb_init_controller:status=-19
[ 1.443331] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19
[ 1.452067] #musb_init_controller:status=-19
[ 1.456382] musb-hdrc musb-hdrc.1: musb_init_controller failed with status -19

插上U盘无任何反应,不知道哪里出错了,请帮忙看看问题,谢谢!!!

user1794335:

之前有看到USB_VBUS直连5V需要patch代码,不知是不是没有patch代码的原因呢

Shine:

回复 user1794335:

请问您用的是host mode还是OTG mode?"之前有看到USB_VBUS直连5V需要patch代码"这个是指OTG模式下。

Shine:

回复 user1794335:

感谢分享!

赞(0)
未经允许不得转载:TI中文支持网 » pdk5.0版本,am335x usb1接U盘没反应
分享到: 更多 (0)