NET OS 6.1 Training - PowerPoint PPT Presentation

About This Presentation
Title:

NET OS 6.1 Training

Description:

Sourced from a Minolta and based on the Linux USB Host stack design. Supports bulk transfers, control transfers and interrupt transfers. ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 19
Provided by: ftp1
Category:
Tags: net | minolta | training

less

Transcript and Presenter's Notes

Title: NET OS 6.1 Training


1
NETOS 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
    NETOS 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.
Write a Comment
User Comments (0)
About PowerShow.com