Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • emUSB-Device
  • MTP Class
  • Technology
  • Add-Ons

MTP Class

Contact us
Downloads
Documentation
SEGGER emUSB-Device
  1. 1.Overview
    1. 1.1.Typical Applications
    2. 1.2.Additional Information
    3. 1.3.Key features
  2. 2.Application Samples emUSB-Host MTP
  3. 3.MTP is an alternative to Mass Storage Device (MSD)
  4. 4.Getting Access to Files
  5. 5.Components

Overview

The Media Transfer Protocol (MTP) is a USB class protocol which can be used to transfer files to and from storage devices.

Typical Applications

  • Digital camera
  • MP3 player
  • Smartphone

MTP is an official extension of the Picture Transfer Protocol (PTP) designed to allow digital cameras to exchange image files with a computer. MTP extends this by adding support for all types of files.

smartphone

Additional Information

Check out our Wiki article on MTP: https://kb.segger.com/MTP

Key features

  • Support for MTP events
  • Storage driver for emFile included
  • Works on Windows / Linux out of the box
  • Small footprint

Application Samples emUSB-Host MTP

smartphone

Smartphone

camera

Camera

mp3 player

Mp3 player

MTP is an alternative to Mass Storage Device (MSD)

It operates on the file level in contrast to MSD which reads and writes sector data. This type of operation gives MTP some advantages over MSD:

  • The cable can be safely removed during the data transfer without damaging the file system.
  • The file system does not have to be FAT (EFS or any other proprietary file system can be used).
  • The application has full control as to which files are visible to the user. Selected files or directories can be hidden.
  • Virtual files can be presented.
  • Host and target can access storage simultaneously without conflicts.

MTP is natively supported by Windows and Linux "out-of-the-box" and the installation of additional drivers is not required. macOS supports MTP only by using third party tools such as:

  • Commander One Pro: https://mac.eltima.com/file-manager.html
  • SyncMate ExpertEdition: https://mac.eltima.com/sync-mac.html

Getting Access to Files

An MTP device will be displayed under the "Portable Devices" section of the "Computer" window when connected to a PC running the Microsoft Windows operating system. On other operating systems which support MTP the data stored on MTP devices can be accessed similarly.

emusb device mtp class

An MTP device will be displayed under the "Portable Devices" section of the "Computer" window when connected to a PC running Microsoft Windows 7 operating system.

emusb device mtp class

The files and directories stored on the device can be accessed in the usual way using the Windows Explorer.

emusb device mtp class

On the Ubuntu Linux operating system a connected MTP device is shown in the "Computer" window.

emusb device mtp class

The files and directories present on the MTP device can be easily accessed via GUI.

Components

Components required to use MTP:

  • emUSB MTP
  • emUSB-Device core
  • emUSB target driver

Resource usage

emusb device mtp class structure

全球总部

德国: 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 而访问境外网站,是否继续?