Device Addressed!
Finally, I’ve done it. And about time, too. MyUSB can now successfully enumerate and address my USB Keyboard, acting as a USB Host.
That’s exciting news (to me at least) as it’s a decent milestone towards getting the library complete. The host code isn’t finished by any stretch of the imagination – bugs to fix, and the API to flesh out. Lots of things are still missing, like data stages for USB control requests, and a good API for reading out data from the pipe. Still, I can now talk to the keyboard correctly, which is what I was setting out to do.
The first USB host demonstration application, which I’m currently working on, is a USB mouse host. Similar to the official Atmel demo program, it will enable the user to plug in a USB mouse, and have the mouse movement/button presses shown on the two bicolour LEDs of the USBKEY board.
Only two more days to go, before I have my last Physics exam on Tuesday. I’ll be quite relieved to have them all out of the way, so I have free time to finish MyUSB. As always, stay tuned for project updates!