Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Support
  • About Us
  • Blog
  • Forum
  • Search
    • Contact Us
    • Forum
    • Wiki
    • Web Shop
    • Newsletter
    • RSS
  •  Jobs
  •  Blog
  • emUSB-Host
  • Resource usage
  • Technology
  • Add-Ons
  • Accessories
emUSB Host Product Icon SEGGER (Blue)

emUSB-Host Resource Usage

The embedded USB Host stack emUSB-Host has been specifically designed for resource-constrained platforms. On a typical system emUSB-Host requires 20 KByte of flash memory and 10 KByte of RAM.

emUSB-Host has been designed to fit many kinds of embedded design requirements. Several features can be excluded from a build to get a minimal system that can efficiently act as a USB host. In the following section the memory usage of typical 32-bit embedded systems is listed.

Please note that the values shown below are approximate values and features selected can influence the final size. The measurement were made using a project for an ARM Cortex-M4 CPU with size optimization and SEGGER compiler 10.6.3.

ROM

The following table shows the approximate ROM requirement of emUSB-Host:

Core Components ROM
USB core 6.3 KByte
HUB Support 3.0 KByte
Class ComponentsROM
CDC 5.0 KByte
Vendor class 3.9 KByte
CCID 5.3 KByte
FT232 4.4 KByte
HID Generic 5.8 KByte
HID Mouse Keyboard 6.5 KByte
MSD 5.2 KByte + sizeof(file system)
MTP 12.6 KByte
Printer 4.8 KByte
MIDI 4.9 KByte
AUDIO 6.8 KByte
LAN using ASIX 7.1 KByte + sizeof(emNET)
LAN using CDC-ECM 7.2 KByte + sizeof(emNET)
LAN using RNDIS 7.4 KByte + sizeof(emNET)
DriversROM
Driver EHCI 4.6 KByte
Driver OHCI 6.2 KByte
Driver STM32F4 FS 4.2 KByte
Driver STM32F4 HS 4.6 KByte
Driver STM32F7 HS 4.7 KByte
Driver Kinetis FS 2.8 KByte
Driver Renesas RX64 4.5 KByte
Driver LPC54xxx HS 2.3 KByte
Driver LPC54xxx FS 6.4 KByte

RAM

The following table shows the average RAM requirement of emUSB-Host: *

Component RAM
emUSB-Host core incl. one driver 3.8 KByte + (ca. 3 KByte stack for the managing tasks)
For each connected generic HID device 2.8 KByte
For each connected CDC ACM device 4.1 KByte
For each connected MSD device 2.3 KByte
For each connected Mouse 4.4 KByte
For each connected Vendor device 3.5 KByte
For each connected external HUB 1.9 KByte
For each connected LAN (ASIX) device 13.5 KByte
For each connected LAN (CDC-ECM) device 11.1 KByte
For each connected LAN (RNDIS) device 18.1 KByte

* The actual RAM usage may vary depending on the USB host controller used, the memory architecture of the target, the USB devices connected to emUSB-Host and the type of operations performed with that devices.

More Information

Purchase

  • Pricing

Technology

  • Drivers
  • Performance
  • Quality Assurance
  • Resource usage
  • Samples
  • On-The-Go

Add-Ons

  • Audio Class
  • CCID Class
  • CDC Class
  • CP210x
  • FTDI UART
  • HID Class
  • LAN
  • MIDI Class
  • MSD Class
  • MTP Class
  • Printer Class
  • Vendor Class

Accessories

  • emPower-USB-Host

About us

  • The Company
  • Partners
  • Job Offers
  • Media
  • Contact us

Support

  • Technical Support
  • Blog
  • Forum
  • Wiki

Downloads

  • Application Notes
  • Embedded Studio
  • embOS
  • emCompress
  • emCrypt
  • emFile
  • emLib
  • emLoad
  • emModbus
  • emNet
  • emPower
  • emSecure
  • emSSH
  • emSSL
  • emUSB-Device
  • emUSB-Host
  • emWin
  • Flasher
  • Free Utilities
  • IoT
  • J-Link / J-Trace
  • SystemView
  • CE / REACH

Social Media

Headquarters

SEGGER Microcontroller GmbH

Ecolab-Allee 5
40789 Monheim am Rhein, Germany
info@segger.com
Tel.: +49-2173-99312-0
Fax: +49-2173-99312-28

Locations

USA: SEGGER Microcontroller Systems LLC

Boston area
101 Suffolk Lane
Gardner, MA 01440, USA
us-east@segger.com
Tel.: +1-978-874-0299
Fax: +1-978-874-0599

Silicon Valley
Milpitas, CA 95035, USA
us-west@segger.com
Tel.: +1-408-767-4068

China: SEGGER Microcontroller China Co., Ltd.

Room 218, Block A, Dahongqiaoguoji
No. 133 Xiulian Road
Minhang District, Shanghai 201199, China
china@segger.com
Tel.: +86-133-619-907-60

ISO 9001 certified

ISO 9001

25+ years of experience

embedded experts 25+ years
  • Imprint
  • Disclaimer
  • Privacy Policy

© 2021 SEGGER - All rights reserved.