Yeeloong usb 驱动求助

34 views
Skip to first unread message

涛 张

unread,
Feb 23, 2013, 2:34:58 PM2/23/13
to loongs...@googlegroups.com
Yeeeloong 8101B, PCI即化后, NCE 2.0控制复位,启动之后,在端口上(右上)插拔U盘,PORTSC(Port Status and Control)只在0x0000和0x0800之间变化,
Connect Status Change位一直没有变化。
有谁了解,请指点一下,谢谢。



详细操作:
1. PCI的Mem Bar0应该没有问题,因为USB控制器的数据能读出来。
2. HC OS Owned Semaphore置1
3. 复位
3.1 USBCMD Run/Stop置0
3.2 USBCMD Host reset置1
4. 配置PERIODICLISTBASE
5.  USBCMD Run/Stop置1
6. CONFIGFLAG置1,Port Routing到Ehci
7. 插拔U盘,看PORTSC值

1.JPG
2.JPG
Reply all
Reply to author
Forward
0 new messages