Reputation: 22745
I was trying to program a USB2 controller(EHCI) on a bare metal system(No OS,No drivers). Are there any USB tutorial available for an absolute beginner ? The EHCI specs seemed to be too complex for a beginner.
Upvotes: 1
Views: 6324
Reputation: 46789
I am in a similar situation trying to write a USB driver for an embedded bare metal system. I have found the book "USB: The Universal Serial Bus" by Benjamin David Lunt to be a very useful tutorial on the subject. It covers writing bare metal firmware for UHCI, OHCI, EHCI and xHCI controllers.
Upvotes: 1
Reputation: 3730
For AVR USB controllers there is a nice LUFA library with examples for many USB classes. There are also ports for other architectures such as NXP LPC. http://www.fourwalledcubicle.com/LUFA.php
Upvotes: 0
Reputation: 2993
Some nutter on the Freescale forums writing one in assembler, you may find some pointers there: USB Stack in assembler - mad or genius?
Upvotes: 0
Reputation: 17394
USB Complete is a good book that will give you a start. Hard to find online tutorials.
Upvotes: 3
Reputation: 330
Between that book mentioned and http://www.barebox.org/ . Writing (what I assume will be a host stack) from scratch will take a verrrry looooong timmmmme.
barebox is a multiplatform bootloader. pretty sparse for it's functionality.
Upvotes: 1
Reputation: 24937
Depending on what exactly your chipset is, AMD documentation.
Upvotes: 0