简体   繁体   中英

How to do this: embedded USB-Host communication with plugged USB-Device

I am currently practising with USB programming on an AT91SAM9G20-Evaluation Kit. I learned much about USB devices and USB device port drivers while "playing" with the ATMEL provided USB device port projects (CDC-driver, ..).

But now i'd like to write a small driver to controll a wireless stick which i plugged into one of the boards USB-A Host Ports.

I read a lot on stackoverflow, the OpenHCI specification and even found some libraries on the net, but i am not sure if its a good way to implement my own stack with out any "good" knowledge in USB Host Port programming.

Is there a small and easy way to control the wireless-stick at the boards USB Host port? (Like using the USART-Interfaces?)

Not sure if its just too late today or i am "blind", but can you maybe please give a hint on how to implement RTUSB or libUSB in to the AT91?

Thanks in advance!

Regards, Aureon

You can download AT91LIB version 1.9 from atmel from this page

The usb host libraries are under at91lib/usb/host. They're not the complete package you need though since they're just the OHCI driver -- you still need a USB driver and class drivers to implement what you want.

You could try an RTOS with USB Host support like rt-usb32

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM