1 / 18

NET+OS 6.1 Training

NET+OS 6.1 Training. USB HOST. USB HOST. USB Host Hardware USB Host Stack USB Host API USB Device Class Drivers Recommended readings. USB Host Hardware. Supports USB 1.1 and OHCI 1.0 specifications. USB Host Stack.

gerard
Download Presentation

NET+OS 6.1 Training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NET+OS 6.1 Training

  2. USB HOST

  3. USB HOST • USB Host Hardware • USB Host Stack • USB Host API • USB Device Class Drivers • Recommended readings

  4. USB Host Hardware • Supports USB 1.1 and OHCI 1.0 specifications

  5. USB Host Stack • Sourced from a Minolta and based on the Linux USB Host stack design. • Supports bulk transfers, control transfers and interrupt transfers. • Isochronous transfers are not supported in the NET+OS 6.1 release. • ISR driven event notification design using semaphores.

  6. USB Host Stack • USB stack has an internal thread which processes root hub status change events as notified by the ISR • Root hub status changes force the internal thread to enumerate or de-enumerate devices.

  7. USB Host API Initialization functions: • usbHostInit() • usbKeyboardInit() • usbMouseInit() • usbHubInit() • usbPrinterInit()

  8. USB Host API Memory functions: • usbMalloc() • usbFree() Device class driver functions: • usbRegister() • usbDeregister() • usbRegisterIrq()

  9. USB Host API Enumeration functions: • usbClearEndPointFeature() • usbClearFeature() • usbClearPortFeature() • usbGetConfiguration() • usbGetDeviceDescriptor() • usbGetHidDescriptor()

  10. USB Host API • usbGetHubDescriptor() • usbGetHubStatus() • usbGetPortStatus() • usbGetProtocol() • usbGetStatus() • usbGetString() • usbSetConfiguration()

  11. USB Host API • usbGetHubDescriptor() • usbGetHubStatus() • usbGetPortStatus() • usbGetProtocol() • usbGetStatus() • usbGetString() • usbSetConfiguration()

  12. USB Host API • usbSetFeature() • usbSetIdle() • usbSetInterface() • usbSetPortFeature() • usbSetProtocol() • usbSetReport()

  13. USB Device Class Drivers Devices supported for this release: • Hub • Keyboard • Mouse • Printer

  14. USB Device Class Drivers Hub Driver: • Uses an interrupt endpoint to communicate with the hub device • ISR driven event notification design through semaphore • Internal thread processes hub port status changes and enumerates (or de-enumerates) as needed

  15. USB Device Class Drivers Keyboard Driver: • Uses an interrupt endpoint to communicate with the keyboard device • ISR driven event notification • Directs keystrokes to the console through the standard I/O (i.e. serial port)

  16. USB Device Class Drivers Mouse Driver: • Uses an interrupt endpoint to communicate with the mouse device • ISR driven event notification • Directs mouse position coordinates to the console through the standard I/O (i.e. serial port)

  17. USB Device Class Drivers Printer Driver: • Uses one bulk out endpoint to communicate with the printer device. • Tested with the Hitachi SL5 printer • Will work with printer devices that allow directly downloading the actual print image without any protocols.

  18. Recommended Readings • USB 1.1 Specification • OHCI 1.0 Specification • USB Human Interface Devices (HID) specification • USB related books that explain USB in less abstract terms.

More Related