完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
本帖最后由 一只耳朵怪 于 2018-6-5 15:47 编辑
使用的是3.8的内核 , 在设备树里面做了下面的配置 am33xx.dtsi中 aliases [ u***0 = &u***0; u***1 = &u***1; phy0 = &u***0_phy; phy1 = &u***1_phy; ]; u***: u***@47400000 [ compatible = "ti,am33xx-u***"; reg = <0x47400000 0x1000>; ranges; #address-cells = <1>; #size-cells = <1>; ti,hwmods = "u***_otg_hs"; status = "disabled"; u***_ctrl_mod: control@44e10620 [ compatible = "ti,am335x-u***-ctrl-module"; reg = <0x44e10620 0x10 0x44e10648 0x4>; reg-names = "phy_ctrl", "wakeup"; status = "disabled"; ]; u***0_phy: u***-phy@47401300 [ compatible = "ti,am335x-u***-phy"; reg = <0x47401300 0x100>; reg-names = "phy"; status = "disabled"; ti,ctrl_mod = <&u***_ctrl_mod>; ]; u***0: u***@47401000 [ compatible = "ti,mu***-am33xx"; status = "disabled"; reg = <0x47401400 0x400 0x47401000 0x200>; reg-names = "mc", "control"; interrupts = <18>; interrupt-names = "mc"; dr_mode = "otg"; mentor,multipoint = <1>; mentor,num-eps = <16>; mentor,ram-bits = <12>; mentor,power = <500>; phys = <&u***0_phy>; dmas = <&cppi41dma 0 0 &cppi41dma 1 0 &cppi41dma 2 0 &cppi41dma 3 0 &cppi41dma 4 0 &cppi41dma 5 0 &cppi41dma 6 0 &cppi41dma 7 0 &cppi41dma 8 0 &cppi41dma 9 0 &cppi41dma 10 0 &cppi41dma 11 0 &cppi41dma 12 0 &cppi41dma 13 0 &cppi41dma 14 0 &cppi41dma 0 1 &cppi41dma 1 1 &cppi41dma 2 1 &cppi41dma 3 1 &cppi41dma 4 1 &cppi41dma 5 1 &cppi41dma 6 1 &cppi41dma 7 1 &cppi41dma 8 1 &cppi41dma 9 1 &cppi41dma 10 1 &cppi41dma 11 1 &cppi41dma 12 1 &cppi41dma 13 1 &cppi41dma 14 1>; dma-names = "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7", "rx8", "rx9", "rx10", "rx11", "rx12", "rx13", "rx14", "rx15", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7", "tx8", "tx9", "tx10", "tx11", "tx12", "tx13", "tx14", "tx15"; ]; u***1_phy: u***-phy@47401b00 [ compatible = "ti,am335x-u***-phy"; reg = <0x47401b00 0x100>; reg-names = "phy"; status = "disabled"; ti,ctrl_mod = <&u***_ctrl_mod>; ]; u***1: u***@47401800 [ compatible = "ti,mu***-am33xx"; status = "disabled"; reg = <0x47401c00 0x400 0x47401800 0x200>; reg-names = "mc", "control"; interrupts = <19>; interrupt-names = "mc"; dr_mode = "otg"; mentor,multipoint = <1>; mentor,num-eps = <16>; mentor,ram-bits = <12>; mentor,power = <500>; phys = <&u***1_phy>; dmas = <&cppi41dma 15 0 &cppi41dma 16 0 &cppi41dma 17 0 &cppi41dma 18 0 &cppi41dma 19 0 &cppi41dma 20 0 &cppi41dma 21 0 &cppi41dma 22 0 &cppi41dma 23 0 &cppi41dma 24 0 &cppi41dma 25 0 &cppi41dma 26 0 &cppi41dma 27 0 &cppi41dma 28 0 &cppi41dma 29 0 &cppi41dma 15 1 &cppi41dma 16 1 &cppi41dma 17 1 &cppi41dma 18 1 &cppi41dma 19 1 &cppi41dma 20 1 &cppi41dma 21 1 &cppi41dma 22 1 &cppi41dma 23 1 &cppi41dma 24 1 &cppi41dma 25 1 &cppi41dma 26 1 &cppi41dma 27 1 &cppi41dma 28 1 &cppi41dma 29 1>; dma-names = "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7", "rx8", "rx9", "rx10", "rx11", "rx12", "rx13", "rx14", "rx15", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7", "tx8", "tx9", "tx10", "tx11", "tx12", "tx13", "tx14", "tx15"; ]; cppi41dma: dma-controller@47402000 [ compatible = "ti,am3359-cppi41"; reg = <0x47400000 0x1000 0x47402000 0x1000 0x47403000 0x1000 0x47404000 0x4000>; reg-names = "glue", "controller", "scheduler", "queuemgr"; interrupts = <17>; interrupt-names = "glue"; #dma-cells = <2>; #dma-channels = <30>; #dma-requests = <256>; status = "disabled"; ]; ]; am335x-bone-common.dtsi中 u***0_pins_default: pinmux_u***0_pins [ pinctrl-single,pins = < 0x21c (0x00 | 0x00)/* (PIN_OUTPUT_PULLDOWN | MUX_MODE0)conf_u***0_drvvbus */ >; ]; &u*** [ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&u***0_pins_default>; control@44e10620 [ status = "okay"; ]; u***-phy@47401300 [ status = "okay"; ]; u***@47401000 [ status = "okay"; dr_mode = "otg"; ]; u***-phy@47401b00 [ status = "okay"; ]; u***@47401800 [ status = "okay"; dr_mode = "host"; ]; dma-controller@47402000 [ status = "okay"; ]; ]; 但是u盘插入还是无法检测出来,请问一下可能是什么原因导致的。 |
|
相关推荐
5个回答
|
|
先确认一下你的USB设计是按照我们官方的EVM板设计的吗?有没有查过check list?
http://processors.wiki.ti.com/index.php/AM335x_Schematic_Checklist#USB 用的什么模式?具体的设计是怎样? |
|
|
|
hwjj940056201 发表于 2018-6-4 10:03 硬件可能没有问题,因为uboot可以检测到u盘,读到u盘大小和名字。就是内核启动后就读不到u盘了 |
|
|
|
USB5V是否是直接接到了电源的5V上,还是靠着DRVVBUS来进行驱动的?如果是直接接过去的,是非标准设计,是需要一个patch来解决U盘识别问题的。 |
|
|
|
hwjj940056201 发表于 2018-6-4 10:31 是通过DRVVBUS驱动的,没有直接接上5v电源 |
|
|
|
hwjj940056201 发表于 2018-6-4 10:31 在uboot阶段drvbus是有3.3V电压,并且可以检测到u盘,进入内核之后就没有drvbus电压就为0v了,u盘无法识别。请问一下,内核设备树配置上面有没有上面问题? |
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
694 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
605 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1065 浏览 1 评论
757 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
529 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
171浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
133浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
129浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
126浏览 12评论
GD32F303RCT6配置PA4 ADC引脚,将PA2代替key功能,PA2连接时无法实现预期功能,为什么?
64浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 03:32 , Processed in 0.923993 second(s), Total 56, Slave 49 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号