Monday, December 31, 2012

OHCI host controller for usb devices

I got my first driver assignment...Here I have to implement host controller for USB. In a general purpose operating system its a complete layered architecture. Host controllers are implemented in the very generic and stanadard way to support all the standard drivers. In the embedded system the things a bit different. I am not suppose to implement the layered architecture for the above and the implementation is also customized according to our need.
I have two things for the reference:
            1> Datasheet: where all the registers are explained for SOC
            2> Broadcom CFE (Common Firmware Environment), because its a SWARM based board.

We can't use the CFE code directly because our base code design are a lot different. So my main focus is how the CFE done the registers configuration at last, configuring the right registers in the right sequence.
By going through the CFE code it helps me lot to identify the right registers and the sequence. There after it required to write a couple of functions to make the things done.Now the ports are configured for EHCI/OHCI and its working fine.

Happy coding !!

how to prepare for amazon/google

Here I am sharing the Quora post, the post is about how to prepare your self for the best companies in the software industry. People have disscussed and put their exprience and at the same time they are guiding that how to crack it. Please have a look here http://www.quora.com/Job-Interviews/What-should-I-do-in-the-next-6-months-to-get-into-a-company-like-Amazon-Google