Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: USB OHCI driver (port from u-boot to IAR)
PostPosted: Fri Apr 22, 2011 11:28 am 
Offline

Joined: Fri Apr 22, 2011 10:06 am
Posts: 2
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...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: