完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
本帖最后由 一只耳朵怪 于 2018-6-21 15:04 编辑
您好,AM335X u***0设置host模式,软件部分是不是只是在这个地方修改就行了,我的内核版本3.2 static struct omap_mu***_board_data mu***_board_data = [ .interface_type = MUSB_INTERFACE_ULPI, /* * mode[0:3] = USB0PORT's mode * mode[4:7] = USB1PORT's mode * AM335X beta EVM has USB0 in OTG mode and USB1 in host mode. */ .mode = (MUSB_HOST << 4) | MUSB_HOST, .power = 500, .instances = 1, ]; |
|
相关推荐
6个回答
|
|
是的,同时也请检查硬件连接部分。
|
|
|
|
请问一下3.2的内核中能否集成USB网络驱动 CDC MBIM接口功能 |
|
|
|
您好,请问下我的USB1也是用HOST模式,内核启动打印有关USB的信息如下 u***core: registered new interface driver u***fs u***core: registered new interface driver hub u***core: registered new device driver u*** mu***-ti81xx mu***-ti81xx: mu***0, board_mode=0x11, plat_mode=0x1 mu***-ti81xx mu***-ti81xx: mu***1, board_mode=0x11, plat_mode=0x1 mu***-hdrc: version 6.0, ?dma?, otg (peripheral+host) mu***-hdrc mu***-hdrc.0: dma type: pio mu***-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) mu***-hdrc: MHDRC RTL version 2.0 mu***-hdrc: setup fifo_mode 4 mu***-hdrc: 28/31 max ep, 16384/16384 memory mu***-hdrc mu***-hdrc.0: MUSB HDRC host driver drivers/u***/core/inode.c: creating file 'devices' drivers/u***/core/inode.c: creating file '001' mu***-hdrc mu***-hdrc.0: new USB bus registered, assigned bus number 1 u*** u***1: default language 0x0409 u*** u***1: udev 1, busnum 1, minor = 0 u*** u***1: New USB device found, idVendor=1d6b, idProduct=0002 u*** u***1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 u*** u***1: Product: MUSB HDRC host driver u*** u***1: Manufacturer: Linux 3.2.0-EmbedSky mu***-hcd u*** u***1: SerialNumber: mu***-hdrc.0 u*** u***1: u***_probe_device u*** u***1: configuration #1 chosen from 1 choice u*** u***1: adding 1-0:1.0 (config #1, interface 0) hub 1-0:1.0: u***_probe_interface hub 1-0:1.0: u***_probe_interface - got id drivers/u***/core/inode.c: creating file '001' mu***-hdrc mu***-hdrc.0: USB Host mode controller at e081c000 using PIO, IRQ 18 mu***-hdrc mu***-hdrc.1: dma type: pio mu***-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) mu***-hdrc: MHDRC RTL version 2.0 mu***-hdrc: setup fifo_mode 4 mu***-hdrc: 28/31 max ep, 16384/16384 memory mu***-hdrc mu***-hdrc.1: MUSB HDRC host driver drivers/u***/core/inode.c: creating file '002' mu***-hdrc mu***-hdrc.1: new USB bus registered, assigned bus number 2 u*** u***2: default language 0x0409 u*** u***2: udev 1, busnum 2, minor = 128 u*** u***2: New USB device found, idVendor=1d6b, idProduct=0002 u*** u***2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 u*** u***2: Product: MUSB HDRC host driver u*** u***2: Manufacturer: Linux 3.2.0-EmbedSky mu***-hcd u*** u***2: SerialNumber: mu***-hdrc.1 u*** u***2: u***_probe_device u*** u***2: configuration #1 chosen from 1 choice u*** u***2: adding 2-0:1.0 (config #1, interface 0) hub 2-0:1.0: u***_probe_interface hub 2-0:1.0: u***_probe_interface - got id drivers/u***/core/inode.c: creating file '001' mu***-hdrc mu***-hdrc.1: USB Host mode controller at e081e800 using PIO, IRQ 19 u***core: registered new interface driver zd1201 u***core: registered new interface driver cdc_ether u***core: registered new interface driver cdc_eem u***core: registered new interface driver dm9601 u***core: registered new interface driver cdc_subset u***core: registered new interface driver cdc_ncm u***core: registered new interface driver cdc_acm u***core: registered new interface driver u***-storage u***core: registered new interface driver u***serial u***core: registered new interface driver u***serial_generic u***serial: USB Serial Driver core u***core: registered new interface driver option u***core: registered new interface driver pl2303 u***core: registered new interface driver u***hid u***hid: USB HID core driver lsu*** Bus 001 Device 001: ID 1d6b:0002 Bus 002 Device 001: ID 1d6b:0002 插U盘启动内核,打印信息中没有识别U盘 我的vbus上拉到5v,id脚接地,请问还有别的问题导致U盘上电不识别吗 |
|
|
|
dingL 发表于 2018-6-21 06:49 先贴下u***部分的原理图把 如果我的回答解决了您的问题,请确认答案,谢谢!:) |
|
|
|
USB0做HOST有问题么? USB做主,硬件要按照下面的参考: http://processors.wiki.ti.com/index.php/AM335x_Schematic_Checklist#USB |
|
|
|
344868615qq 发表于 2018-6-21 07:23 我查查硬件吧,USB1host模式识别U盘了,USB0再看看 |
|
|
|
只有小组成员才能发言,加入小组>>
334 浏览 1 评论
528 浏览 2 评论
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
773 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
649 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1126 浏览 1 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
55浏览 29评论
111浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
250浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
197浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
54浏览 13评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 10:32 , Processed in 1.001750 second(s), Total 87, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号