主题 : tiny2451开发板两个usb host的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 14994
精华: 0
发帖: 39
金钱: 195 两
威望: 39 点
综合积分: 78 分
注册时间: 2010-02-26
最后登录: 2018-07-11
楼主  发表于: 2016-09-13 15:29

 tiny2451开发板两个usb host的问题

我现在在用tiny2451开发板做实验,我想把它的usb device改成usb host,以前在2440上非常容易修改,但是2451不一样了

修改的寄存器比较多:
PHYPWR    0x4C00_0084    0x0
PWRCFG    0x4C00_0060    (1<<4)
> URSTCON   0x4C00_0088    (0<<2)|(1<<1)|(1<<0)
> URSTCON   0x4C00_0088    (0<<2)|(0<<1)|(0<<0)
> PHYCTRL   0x4C00_0080    (0<<3)|(0<<2)|(1<<1)|(1<<0)
> UCLKCON   0x4C00_008C    (0<<31)|(0<<2)|(1<<1)|(1<<0)
>
> Once I try to plug in a  USB mass storage device (whose driver is present in
> kernel), I get the following error:
>
> usb 1-2: new full speed USB device using s3c2410-ohci and address 10
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: new full speed USB device using s3c2410-ohci and address 11
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: new full speed USB device using s3c2410-ohci and address 12
> usb 1-2: device not accepting address 12, error -62
> usb 1-2: new full speed USB device using s3c2410-ohci and address 13
> usb 1-2: device not accepting address 13, error -62

port 2插入U盘后的结果是这样的,各种修改还是不行,请大神指教有没有成功的。
另想问一下,用usb host 1.1接usb hub扩展出来的四个usb性能好吗?想同时接两个usb设备,到时会有问题吗?谢谢,盼回复。
级别: 新手上路
UID: 14994
精华: 0
发帖: 39
金钱: 195 两
威望: 39 点
综合积分: 78 分
注册时间: 2010-02-26
最后登录: 2018-07-11
1楼  发表于: 2016-09-26 10:25
自己顶一下,没有人研究过这个吗?高手们都去哪里了。
级别: 新手上路
UID: 98193
精华: 0
发帖: 24
金钱: 120 两
威望: 24 点
综合积分: 48 分
注册时间: 2013-11-19
最后登录: 2018-09-27
2楼  发表于: 2017-01-24 16:51

 回 1楼(teaco) 的帖子

你成功实现了嘛?我也在做这个,QQ474680233