Hi ,

I am in initial stage of developing a OHCI drvier on MPC5200B.

I am stuck in a problem where OHCI controller gest reset when I enable
the control transfer bit . Followng is the sequence of operations I am
doing'

1) Give a s/w reset to HCR bit in HC command status register 
2) Wait till the bit is cleared 
3) Put the controller in USB RESET (HCFS bits in HC control register) 
4) Construct all virtual queues in to physical queues in memory 
5) Pass these addresses to HCCA done queue pointer. (Am I write here?) 
5) set HCCA block in HCCA register 
6) Set the controller to USB RESUME 

When you detect USB device connect 
7) Issue port reset 
8) Issue port enable 
9) Set control list filled in CLF bit in HC command status register 
10) Enable control list by setting CLE BIT in HC control register 

Problem: But moment I do step 10 HC resets.(All values set to zero) 

Please tell me where I am going wrong .


Regards 
Siddharth



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to