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
  •   Videos
  •   Blog
  •   Sustainability
  • emUSB-Device
  • MTP Class
  • Technology
  • Add-Ons
SEGGER emUSB-Device product-icon

emUSB-Device Add-Ons – MTP Class

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

  • Support for MTP events
  • Storage driver for emFile included
  • Works on Windows / Linux out of the box
  • Small footprint
  1. 1.Typical Applications
    1. 1.1.Additional Information
  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
smartphone

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.

Additional Information

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

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

More Information

Purchase

  • Pricing

Technology

  • Combining Interfaces/Addons
  • Samples
  • Drivers
  • Performance
  • Resource usage
  • WebUSB

Add-Ons

  • Audio
  • Bulk Component
  • CDC Class
  • CDC-ECM Class
  • CDC-NCM Class
  • DFU Class
  • HID Class
  • IP-over-USB
  • MSD Class
  • MTP Class
  • Printer Class
  • RNDIS Class
  • Video
  • VirtualMSD Component
  • CCID
  • MIDI

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
  • emVNC
  • emWin
  • Flasher
  • Free Utilities
  • IoT
  • J-Link / J-Trace
  • Linux Studio
  • 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

30+ years of experience

First-class embedded software tools since 1992
  • Imprint
  • Disclaimer
  • Privacy Policy

© 2023 SEGGER - All rights reserved.