Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 芯片厂商
  • 支持
  • 关于我们
  • Search
  • 工作机会
  • 新闻简报
  • 联系我们
  • emUSB-Device
  • MSD Class

    MSD Class

    Contact us
    Downloads
    Documentation
    SEGGER emUSB-Device
    1. 1.Key features
    2. 2.Application Samples emUSB-Device MSD
    3. 3.Components
    4. 4.Only Provide File System Code on the Target if Necessary
    5. 5.Use File System Support From Host OS
    6. 6.No Custom Host Drivers Necessary
      1. 6.1.Plug and Play

    Overview

    emUSB-Device MSD enables the use of an embedded target device as a USB mass storage device. The target device can be simply plugged-in and used like an ordinary disk drive, without the need to develop a driver for the host operating system.

    Typical Applications

    • Digital camera
    • USB stick
    • MP3 player
    • DVD player
    • Any target with USB interface:
      Easy access to configuration and data files
    msd

    Key features

    • Can be used with RAM, parallel flash, serial flash or mechanical drives
    • Support for full-speed (12 MBit/s) and high-speed (480 MBit/s) transfer rates
    • No custom USB host driver necessary
    • Highly portable, efficient, commented ANSI C source code
    • OS-Abstraction: Use with any RTOS, no OS required for MSD only devices
    • Hardware abstraction layer allows rapid addition of support for new devices
    • Small memory footprint

    Application Samples emUSB-Device MSD

    memory stick

    Memory Stick

    camera

    Camera

    mp3 player

    Mp3 player

    dvd player

    DVD player

    Components

    Components required to use MSD class:

    • emUSB MSD
    • emUSB-Device core
    • emUSB target driver
    • Real-time operating system (embOS or other)

    Resource usage

    emUSB device msd class structure

    Only Provide File System Code on the Target if Necessary

    Mass storage devices like USB sticks do not require their own file system implementation. File system program code is only required if the application running on target device has to access the stored data. The development of a file system is a complex and time-consuming task and delays the time-to market. Thus we recommend the use of commercial file system like emFile, SEGGER's file system for embedded applications. emFile is a high performance library that has been optimized for minimum memory consumption in RAM and ROM, high speed and versatility. It is written in ANSI C and can be used on any CPU and on any media. Refer to www.segger.com/emfile.html for more information about emFile.

    Check out our wiki article on MSD:
    https://kb.segger.com/MSD

    Use File System Support From Host OS

    A device which uses emUSB-Device MSD will be recognized as a mass storage device and can be used like an ordinary disk drive. If the device is unformatted when plugged-in, the host operating system will offer to format the device. Any file system the host provides can be used. Typically FAT is used, but other file systems such as NTFS are possible too. If one of those file systems is used, the host is able to read from and write to the device using the storage functions of the emUSB-Device MSD component, which define unstructured read and write operations. Thus there is no need to develop extra file system code if the application only accesses data on the target from the host side. This is typically the case for simple storage applications, such as USB memory sticks or ATA to USB bridges.

    No Custom Host Drivers Necessary

    This is possible because the mass storage class is one of the standard device classes, defined by the USB Implementers Forum. Virtually every major operating system on the market supports these device classes out of the box.

    Plug and Play

    Let's say the target system is a digital camera using emUSB-Device MSD. Videos or photos taken by this camera can be conveniently accessed with the file system explorer of the used operating system, if the camera is connect to the host.

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

    全球总部

    德国: SEGGER Microcontroller GmbH

    地址: Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    电邮: info@segger.com
    电话: +49-2173-99312-0
    传真: +49-2173-99312-28

    网点分布

    中国:哲戈微系统科技(上海)有限公司

    地址: 中国上海市闵行区秀涟路133号
    大虹桥国际A 栋218室
    邮编201199
    电邮: china@segger.com
    电话: +86-133-619-907-60


    简易信息聚合

    通过ISO 9001认证

    ISO 9001

    30多年的嵌入式行业经验

    First-class embedded software tools since 1992
    • 版本说明
    • 免责声明
    • 行为准则
    • 隐私策略
    • 沪ICP备2022005181号
    • 沪公网安备 31011202014525号
    © 2025 SEGGER - 版权所有.

    您即将离开 segger.cn 而访问境外网站,是否继续?