USB Devices enumerate

heyuanjie
Attachment: USB enumerate.rar (697.3 KB)
Hi,everyone. 
  There is no code about testing USB Host in the ADS project.That makes us
very hardly to learn how USB to communicate with devices. 
  But,now,i have solved this problem.I can communicate with U disk or
mouse. 
  To read or write the devices,at first you should enumerate the
device.Here,i will give you how to do the first step!

(Before reading my code,you should read OHCI and USB1.1)


my QQ number:943313837
Email:scheyuanjie@163.com

kiranvarma
Thanks man! U bring hope in project.

Kjames
Thank you!
I downloaded your example source file "USB enumerate.rar".

I am trying to program for USB host of s3c2410.
some modified your source and try it.
I just received msg "rHcRevision=0x10" then "ErrCode=0x5",
and can't catch interrupt msg when i connect usb device to s3c2410.

if you know how can i configure register for USB host interrupt.
And tell me about above issue.

Thanks.