GetUSB.info Logo

USB Mass Storage Device Protocol – What Is It

The USB Mass Storage Device Protocol defines how USB devices which are attached to a host computer should interact (such as flash drives, external hard drives, and memory cards) and this protocol is critical for allowing stuff to talk with each other in the computer world. Here’s a breakdown of its core components:

In order for a USB flash drives to work interchangeably with other devices a universal standard must be created, defined and implemented for both device manufactures (the flash drives) and the host manufacturers (what flash drives are plugged into). The “Mass Storage Device” is the more technical term for what a USB flash drive is ( or USB hard drive or other memory storage device ) classified as. The classification spells out how communication works between the host computer and USB device.

The following information is a general outline and meant for non-technical readers to better understand the USB Mass Storage Device is. A link at the bottom will direct readers to a more technical resource, say someone reading up from a computer science class.

Let us start with the “Device Class and Protocol”

USB Mass Storage Device Protocol - What Is It

As mentioned the Mass Storage Class (also known as MSC) is a set of specifications which define a standardized way the USB device will present itself and communicate with the host (what it is plugged into); for example a computer, smartphone a car stereo or even the USB socket you find on a passenger plane. All of these “hosts” must conform to a specific way to communicate with the device.

Although we mention the USB socket of a plane, that particular situation doesn’t require “data transfer” and it’s only meant for power; although a specification is still required even when only dealing with power and/or charging. With that said, the most common protocol used for MSC devices is the “Bulk Only Transport” or BOT. The BOT is a method defining how data is either read or written from one device to the other. The BOT is designed to be fast and optimize data transfer while at the same time providing a reliable and stable code base for transferring data.

As a side note, the BOT was improved with UASP. The newer UASP (USB Attached SCSI Protocol) was introduced for the USB 3.0+ speed of devices. The UASP improves the older BOT by allowing faster data transfer rates and better performance to the devices which support the newer UASP.

So whether the host and attached device, say a USB flash drive, use BOT or UASP the commands used come from the SCSI (Small Computer System Interface) protocol. This protocol was developed in the late 1970s and ultimately introduced to the public for use in 1986. So the SCSI protocol has been around for a very long time.

One pillar of the SCSI protocol is the “block device” appearance of a device connected to a computer. This block device approach helps organize data and allows the two to communicate in blocks. Remember the most basic, 1024? the block device approach allows data transfer to work more efficiently and organized than other approaches.

The Mass Storage Device specification will classify data transfer speeds. This type of classification will setup the host computer and device on the best method to communicate. This is important because you want to define a Mass Storage Device’s ability to transmit data, during either the read or write operation, to an optimal speed for best performance. So for example, you don’t want a USB 3.0 hard drive communicating with the host computer at USB 2.0 speeds. The classification for data transfer will sync up the proper protocol.

A quick summary of speed protocols we have:

  • USB 1.1 (12 Mbps)
  • USB 2.0 (480 Mbps)
  • USB 3.0 (5 Gbps)
  • USB 3.1 (10 Gbps)
  • USB 3.2/USB 4.0 (20 Gbps+)

The next item on the punch list for the Mass Storage Device protocol is the power requirements. It’s fairly obvious the LED light of that flash drive which blinks during operation needs to get it’s power from somewhere. But there is more to the power specification than just juicing the LED lights.

The host computer, which is pushing the power to the connected USB device, started out with 500mA for USB 1.1 and USB 2.0. This was enough to power the device for normal operation when USB was first introduced. However, with the introduction of USB 3.0, 3.1 and 3.2 the bandwidth of power was also increased. This was done because the technology realized there are devices being connected which require more power, such as computer monitors which connect via USB or SSD hard drives which require more power for the faster performance they provide. USB 3.0 and USB 3.1 can provide up to 900 mA per socket.

The highest power output currently achievable via USB-C is 240 watts. This power level became possible with the introduction of the USB Power Delivery (USB PD) 3.1 specification in 2021, which increased the maximum power from the previous 100 watts (20V at 5A) to 240 watts (48V at 5A).

Did we cover the acronym for USB – Universal Serial Bus – and from that acronym, the key word is “universal” and the cornerstone of the USB Mass Storage Device protocol. The plug-and-play functionality is what makes USB so awesome. “Plug and play” refers to a technology or device’s ability to be connected to a computer or system and start functioning without needing complex setup or manual installation. When a device is plug and play, the system automatically recognizes it, installs necessary drivers, and makes it ready for use immediately after connection.

Right next to the universal connectivity of USB is the hot swap capability. The Mass Storage Device protocol supports this. In computing, hot-swapping refers to the ability to add or remove peripherals from a system while it is powered on and running, without needing to shut down or restart. This feature allows users to replace or upgrade parts without interrupting system operations, which is especially useful in servers, data centers, and certain consumer electronics. A quick example is that we all know a USB flash drive or USB hard drive can be connected and disconnected without the host computer being turned off.

In short, the USB mass storage specification allows for standardized, high-speed, and flexible storage solutions compatible with a wide range of devices, making it a preferred method for external storage.

The USB-IF or Implementors Forum for USB is the body which defines the Mass Storage Device protocol. The founding members include Compaq, Digital Equipment Corporation, IBM, Intel, Microsoft, NEC, and Nortel. Over time, the USB-IF has grown to include over 1,000 companies.

For a complete specification of the USB technology please visit:
https://www.usb.org/documents

Tags: ,

Mark McCrosky

Kicking around in technology since 2002. I like to write about technology products and ideas, but at the consumer level understanding. Some tech, but not too techie.

Copyright © 2006 +

USB Powered Gadgets and more...

All Rights Reserved

GetUSB Advertising

This is a high value website providing great exposure to your product and brand. Visit our advertising page to learn specifics.

For more information
Visit our advertising page.

Nexcopy Provides

USB copy protection with digital rights management for data loaded on USB flash drives.

Contact us learn more