emUSB-Host

The emUSB-Host software complies with the USB standard specifications as set by the USB Implementors Forum. It supports all transfer modes (control, bulk, interrupt, isochronous) at all speeds. USB pipe management and extended error recovery mechanisms required for reliable operation are implemented internally. Sophisticated test procedures ensure the reliability and quality of the USB host software.

emUSB-Host’s modular design enables applications to either access the USB host programming interface directly or to use APIs made available via by class drivers.

emUSB-Host can handle multiple devices as well as hubs simultaneously and fully supports hot plugging of devices and hubs. The programming interface supports dynamic device enumeration and identification.

emPower-USB-Host

emPower USB Host

emPower-USB-Host is a low-cost board for applications that require two USB-Host ports in a simple and small design. SEGGER software including emUSB-Host, emLoad and embOS are ready to run on the board.

Accessing the board with a debug probe can be achieved by using the J-Link OB on the board.

Key features

  • Professional USB-Host software for embedded systems
  • Direct support from the product developers
  • Highly portable and uniform API for all supported controllers
  • High performance, small memory footprint in RAM and ROM
  • Simple to integrate into your embedded environment
  • emPower-USB-Host Dual USB platform available

emUSB-Host components

SEGGER’s USB host stack designed to work on any embedded system with a USB host controller. Bulk communication along with all other transfer modes is supported. All commonly used standard device classes are supported. USB trees with multiple hubs are supported as well.

emUSB-Host consists of three layers. These layers are a driver for hardware access, the emUSB-Host core, and at least one USB protocol layer.

SEGGER recommends to purchase emUSB-Host as a complete package by selecting the emUSB-Host PRO package. It includes support for the most common use cases, such as handling human interface devices for user interaction, handling USB sticks to export and import data, printer support and serial communication support. The following table shows, which modules are part of the PRO package and which are optionally available.

emUSB Host Core
ComponentDescriptionemUSB-Host BASEemUSB-Host PRO
USB protocol layer
AudioemUSB-Host Audio componentOptionalIncluded
CCIDemUSB-Host CCID class component.OptionalIncluded
CDCemUSB-Host Communication Device Class component.OptionalIncluded
CP210xemUSB-Host CP210x UART support.OptionalIncluded
FT232emUSB-Host FTDI UART component.OptionalIncluded
HIDemUSB-Host Human Interface Device Class component.IncludedIncluded
LANemUSB-Host LAN component.OptionalIncluded
MIDIemUSB-Host MIDI class component.OptionalIncluded
MSDemUSB-Host Mass Storage Device Class component.IncludedIncluded
MTPemUSB-Host Media Transfer Protocol component.OptionalIncluded
PrinteremUSB-Host Printer component.OptionalIncluded
VendoremUSB-Host Vendor class component.OptionalIncluded
VideoemUSB-Host Video componentOptionalOptional
Core layer
emUSB CoreThe emUSB-Host core is the intrinsic USB stackIncludedIncluded
Hardware layer
DriverUSB controller driverOptionalOne item included

Audio

Audio

USB Audio Host class

The emUSB-Host-Audio class allows audio devices, such as microphones, speakers or musical players to communicate with a USB host target. The class allows to record or play audio through the host.

Application samples for emUSB-Device Audio

Microphone
Speakers
SoundBar
Headset

Microphone

Speakers

Sound Bar

Headset

USB Sound Card Host

USB sound card


CCID

CCID

CCID Class

SEGGER’s emUSB-Host CCID Class provides an easy-to-use interface to handle smart card readers and communicate with smart cards.

Peripherals compatible with emUSB-Host CCID Class

Card Reader
NFC Card Reader
RFID Card Reader

Card reader

NFC card reader

RFID card reader


CDC

CDC

Communication Device Class

The USB Communication Device Class (CDC) provides access to COM port devices via USB. This enables communication via modems for mobile networks such as GSM/3G/LTE or cable based network modems. Any device which uses CDC for configuration and data transmission, such as a point-of-sales terminal, can be accessed via the CDC class driver as well.

Peripherals compatible with emUSB-Host CDC

Modem
Fax
POS Terminal

Modem

Fax

POS-Terminal


CP210X

CP210X Device Driver

CP210X Device Driver

Many devices formerly connected via UART have been equipped with USB interfaces using serial to UART converters such as the CP210x USB-to-UART Bridges from Silicon Labs. emUSB-Host is capable of easily addressing such devices.

Peripherals compatible with emUSB-Host CP210X

CP2102 USB UART Bridge

CP2102 USB to UART Bridge


FT232

CP210X Device Driver

FTDI FT232 Device Driver

Many devices formerly connected via UART have been equipped with USB interfaces using serial to UART converters such as the FTDI UART and FT-X devices from FTDI. emUSB-Host is capable of easily addressing such devices.

Peripherals compatible with emUSB-Host FTDI UART

USB RS232 Converter

USB to RS232 Converter


HID

HID

Human Interface Device class

The Human Interface Device class (HID) supports the handling of devices which are used by humans to control the operation of computer systems. The class enables the use of input devices such as keyboards, mice, trackballs, touch-controllers, barcode scanners, joysticks, game controllers, RFID readers. And even devices which do not require direct human control such as digital thermometers, software protection dongles, uninterruptible power supplies.

Peripherals compatible with emUSB-Host HID

Keyboard Mouse
Barcode Scanner
Touch Screen
Joystick

Keyboard & Mouse

Barcode Scanner

Touch Screen

Joystick

Fingerprint Sensor
RFID Reader
3D Mouse
Trackball

Fingerprint Sensor

RFID Reader

3D Mouse

Trackball

Uninterruptible Power Supply
Weighing Scale

Uninterruptible Power Supply

Weighing Scale


LAN

Ethernet USB

Ethernet-over-USB adapter support

emUSB-Host LAN provides support for a multitude of Ethernet-over-USB adapters which can easily enable network access for any embedded system with USB host.

USB Ethernet Adapter
Internet Stick
Smartphone

USB to Ethernet Adapter

Internet Stick

USB Tethering


MIDI

MIDI

MIDI Class

The USB class protocol for MIDI is used to interact with music devices and Studio equipment, such as MIDI controllers, sequencers, drum machines, samplers, effects, units, synthesizers, instruments, lighting and recording equipment.

MIDI devices and instruments compatible with emUSB-Host MIDI

Synthesizer
Controller
Effects Unit

Synthesizer

Controller

Effects Unit


MSD

USB Device

Mass Storage Device Class

The Mass Storage Device class (MSD) is used to get access to external storage media such as USB-sticks, external hard disk drives and memory card readers.

Peripherals compatible with emUSB-Host MSD

Memory Stick
USB Hard Disk Drive
cardreader

Memory Stick

USB Hard Disk Drive

Cardreader


MTP

MTP

Media Transfer Protocol

The Media Transfer Protocol (MTP) can be used to transfer files to and from storage devices like digital cameras or smartphones.

Peripherals compatible with emUSB-Host MTP

Smartphone
Camera

Smartphone

Camera


Printer

Printer Class

Printer Class

The USB class protocol for printers is used for the handling of output devices, like printers and plotters.

Peripherals compatible with emUSB-Host Printer

Printer

Printer


Vendor

Bulk

Vendor Class

SEGGER’s emUSB-Host Vendor Class provides an easy-to-use interface to devices running custom or proprietary protocols.

Peripherals compatible with emUSB-Host Vendor Class

JLink Probe
Temperature Logger
Software Protection
gamepad

SEGGER Debug Probe J-Link

Temperature Logger

Software Protection Dongle

Gamepad


Video

Video

USB Video Host Class

The emUSB-Host-Video class allows video devices, such as webcams to communicate with a USB host target. The class allows to receive video from input devices.

Peripherals compatible with emUSB-Host Video Class

Webcam

Webcam


Advantages of adding USB host to your hardware

  • Low cost: The USB connector and the corresponding components are normally cheaper than alternative communication interfaces.
  • Reliable: The USB protocol contains measures to ensure data integrity. Errors are detected by the sender and data can be retransmitted.
  • Versatile: USB host allows to connect with virtually any other technology. Using a USB host port network connectivity can be added by connecting an Ethernet-over-USB adapter. User input can be added by connecting an external USB display, USB keyboard and USB mouse. Storage capacity can be extended by connecting an MSD stick or hard drive.
  • Fast: Multiple speed modes are provided by the USB protocol to accommodate the application’s needs.
  • Expandable: USB hubs can be used to connect multiple devices to a USB host.
  • Easy to use: The end user only has to connect a cable, a USB device is enumerated without the need for user configuration.

emUSB-Host drivers

emUSB-Host does not contain any hardware dependencies. These are encapsulated through a hardware abstraction layer, called a driver. In order to manage the number of required drivers, emUSB-Host has a flexible driver concept, that supports almost all host controllers in the market. For a complete list of currently supported controllers, press the button below.

Licensing

emUSB-Host is available under various Embedded Software License models and delivered in source code packages. With a wide range of licensing options, emUSB-Host can fulfill commercial requirements as well as technical requirements. All licenses are one-time payments. emUSB-Host is royalty-free and not subscription-based. This makes the software a part of the equipment expenses, keeping the costs static.

* Applies to second seat/product and all additional seats/products of the Single Product License and Single Developer License.