Changes between Initial Version and Version 1 of MMC


Ignore:
Timestamp:
10/22/2017 05:28:45 AM (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MMC

    v1 v1  
     1[[PageOutline]]
     2
     3= MultiMediaCard (MMC) =
     4A MultiMediaCard (MMC) is a memory card standard used for solid-state storage typically used in digital cameras, smart-phones, and portable media players. There are several form-factors of cards that fall under the specification. MMC cards use the SDIO data bus standard.
     5
     6== microSD ==
     7Gateworks supports microSD (aka uSD) cards on several boards in the Laguna and Ventana product family. A microSD card typically operates at 3.3V (with 3.3V or 1.8V I/O) and uses 4bit I/O.
     8
     9References:
     10 * http://en.wikipedia.org/wiki/Secure_Digital
     11 * http://en.wikipedia.org/wiki/MultiMediaCard
     12 * https://www.sdcard.org/developers/overview/speed_class/
     13
     14== Data Rates ==
     15The !SecureDigital (SD) card spec originally defines a speed classes rating to refer to the I/O speed capabilities of the specific card. The class is specified on the card with icons that are denoted in the SD card specification. The class specified the write speed (which was important for Digital cameras) but a shortcoming of this system is it did not specify read speed.
     16
     17Some examples of speed class rating:
     18|| '''Class''' || '''Device Write Speed''' ||
     19|| class2      || 2MB/sec               ||
     20|| class4      || 4MB/sec               ||
     21|| class10     || 10MB/sec              ||
     22 * Note: device read speed not specified by class - refer to manufacturer specs
     23
     24The Ultra High Speed (UHS) bus introduced in version 3 of the SD specification marked by a 'UHS-I' marking on the device supports a higher clock frequency and came with a new rating system that specifies the I/O rate and not the I/O rates supported by the card.
     25
     26Here are some examples:
     27|| '''Name''' || '''Clock speed''' || '''Max possible I/O rate for 4bit MMC''' || '''SD spec version''' ||
     28|| DS (Default Speed) || 25MHz     || 12.5 MB/sec || 1.01 ||
     29|| HS (High Speed)    || 50MHz     || 25 MB/sec   || 2.00 ||
     30|| UHS-I SDR12        || 25MHz     || 12.5 MB/sec || 3.01 ||
     31|| UHS-I SDR25        || 50MHz     || 25 MB/sec   || 3.01 ||
     32|| UHS-I SDR50        || 100MHz    || 50 MB/sec   || 3.01 ||
     33|| UHS-I DDR50        || 50MHz     || 50 MB/sec   || 3.01 ||
     34|| UHS-I SDR104       || 208MHz    || 104 MB/sec  || 3.01 ||
     35
     36SD cards are backwards compatible with respect to clocks: a card capable of UHS-I SDR104 can operate just fine in DS or HS mode.
     37
     38In any case the actual achievable read/write speeds depend not only on the specified read and write rates by the card vendor but also depend on the microSD Host Controller (uSDHC) of the SoC on the board using the microSD which varies per product family. See below for product family details.
     39 
     40References:
     41 * https://www.sdcard.org/developers/overview/speed_class/
     42 * http://en.wikipedia.org/wiki/Secure_Digital#Ultra_High_Speed_bus
     43
     44== Ventana ==
     45The Freescale IMX6 SoC used on Ventana has an SD host controller that supports up to a 208MHz clock necessary for UHS-I SDR104 however this requires a microSD I/O voltage rail that is switchable between 1.8V and 3.3V which is available only on select Ventana board models (see below). If UHS-I clocking is not available a UHS-I card will be used in HS mode with a 50MHz clock resulting in a '''theoretical maximum I/O rate of 25MB/sec'''. '''Actual raw device throughput (using dd commands) has shown 19.5MB/sec''' for cards that advertise greater than 20MB I/O when operating in HS mode.
     46
     47Ventana boards that are capable of UHS-I data rates:
     48||= board model =||= revision =||
     49|| GW54xx        || E          ||
     50|| GW53xx        || E          ||
     51|| GW520x        || D          ||
     52|| GW522x        || B          ||
     53* Standard board models at the revision above will have UHS-I capability loaded by default, however for specials (GW5xx-SPxxx) please contact sales@gateworks.com to inquire if UHS-I support is available.
     54
     55From a software perspective, support for UHS-I data rates on UHS-I capable boards is available on:
     56 * OpenWrt 15.0x BSP based on kernel v4.1 (coming soon)
     57 * Yocto 1.8 BSP
     58 * Gateworks downstream vendor kernel v3.14.x
     59
     60
     61== Laguna ==
     62The Cavium cns3xxx SoC used on Laguna has an SD host controller that supports a 50MHz max clock which results in a '''theoretical maximum I/O rate of 25MB/sec'''.