Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Silicon Vendors
  • Support
  • About Us
  • Blog
  • Forum
  • Search
  • Jobs
  • Newsletter
  • Blog
  • Contact
  • Shop
  • emUSB-Host
  • MSD Class

    MSD class

    Contact us
    Downloads
    Documentation
    SEGGER emUSB-Host
    1. 1.Application Samples emUSB-Host MSD
    2. 2.Structure of MSD Component
    3. 3.Example Code Included
    4. 4.Requirements

    Overview

    The Mass Storage Device protocol (MSD) is used to get access to one or more storage mediums. Using this class, emUSB-Host provides access to external storage media such as USB-sticks and external hard disk drives, memory card adapters.

    msd

    Key features

    • Any Mass storage device (Memory stick, hard disk) can be used
    • Included in the emUSB-Host Base package
    • It is independent of the file system. An interface to emFile is provided
    • Small footprint

    Application Samples emUSB-Host MSD

    memory stick

    Memory Stick

    hard disk

    USB Hard Disk Drive

    card reader

    Cardreader

    Structure of MSD Component

    A mass storage device connected to emUSB-Host is added to the file system as a volume. All operations on the device, such as formatting, reading / writing of files and directories are performed through the API of the file system. With emFile, the device name of the first MSD is "msd:0:".

    emUSB host msd class structure graph

    Example Code Included

    Example code which is provided with any shipment or eval software including emUSB-Host. The example shows the capacities of the connected device (such as the volume size, number of sectors, etc.) and shows files in the root directory and creates and writes to a file. Several application samples can also be found on the emUSB-Host sample page.

    Requirements

    Components required to use emUSB-Host MSD:

    • emUSB-Host MSD (Included in emUSB-Host Base package)
    • emUSB-Host core (Included in emUSB-Host Base package)
    • emUSB-Host target driver (One driver is included in emUSB-Host PRO package)
    • Real-time operating system (embOS or other)
    • File System (emFile)

    Resource usage

    • User manual
    • List of downloads
    • Update notification
    • Pricing
    • Support
    • Silicon vendor resources

    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

    30+ years of experience

    First-class embedded software tools since 1992
    • Imprint
    • Disclaimer
    • Code of Conduct
    • Privacy Policy
    © 2025 SEGGER - All rights reserved.