|
Hi. Sorry for my not native English. I try to port USB OHCI driver from u-boot to IAR. I have Ctrl+C all "usb start " command compliant modules and Ctrl+V its to IAR project. ...Some shamaning with source code and I have a some work program... BUT!... When device has been detected and device descriptor has been read, program try to reset port on a root hub... and there an ERROR occur:
hub_port_reset: resetting port 1... setup_packet.requesttype = 0x23 .request = 0x3 .value = 0x4 .index = 0x2 .length = 0x0
//****************** ERROR: USB-error:1 DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error:2 DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) //******************
If I try CONFIG_LEGACY_USB_INIT_SEQ manner code, my program work correctly...
Is there somebody how can direct my mind on a right way? It reduce me to despair... =( Help me, please...
|