阅读:1647回复:4
HOST CONTROLLER初期化
有哪位大虾能指点一下HOST CONTROLLER的初期化顺序?
在SOFTWARE RESET SIGNAL发出后,何时将USB正常状态量写入REGISTER 为宜。 |
|
|
沙发#
发布于:2001-05-26 01:03
1.port enable
2.reset device 3.get device descriptor(64 bytes) 4.Set addres 5.get device descriptor(18 bytes, this is you specified in your firmware) 6.get configuration descriptor if any of step 3- 6 fails, it will repeat step 3-6 three times. |
|
板凳#
发布于:2001-05-26 19:22
Thank dgxu for answer.
what you description is the process of initialize the USB device. but this time,I want to know the timing to initialize the host controller. it must be need to issue a software reset signal at first, and then... if you know about it,teach me please. |
|
|
地板#
发布于:2001-05-26 20:29
Host端没做过,跟一下Windows是怎么作的把,然后再写本书,
到时,您老兄就发了.... |
|
地下室#
发布于:2005-03-15 19:14
我正在作linux下的usb主机驱动,可以以linux为例给你介绍一下
1.在linux中,将主机编译进内核后,每次启动系统,usb主机驱动都会被初始化,然后通过中断方式等待设备接入 2.当插入设备后,usb hub的端口会改变,这时会将端口有设备接入的信息报告给usbcore,然后usb主机会请求设备描述符,开始与设备交互信息 |
|