SAMV71 Xplained Ultra Software Package 1.3

Basic MultiMediaCard Example

Purpose

The Basic MultiMediaCard Example will help you to get familiar with HSMCI interface on SAM Microcontrollers. It can also help you to get familiar with the SD and MMC operation flow which can be used for fast implementation of your own SD/MMC drivers and other applications related.

Requirements

This package can be used with SAM V71 Xplained Ultra board.

Description

Open HyperTerminal before running this program, the HyperTerminal will give out the test hints, you can run different tests on a inserted card.

Usage

The MultiMedia Card Example offers a set of functions to perform MultiMedia Card tests:

  1. Dump MultiMedia Card information
  2. Test all blocks on MultiMedia Card
  3. Test R/W Speed (performance) of the MultiMedia Card You can find following information depends on your needs:
  1. Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application
  4. In HyperTerminal, it will show something like on start up
          -- MultiMedia Card Example xxx --
          -- SAMxxxxx-xx
          -- Compiled: xxx xx xxxx xx:xx:xx --
          -I- Cannot check if SD card is write-protected
    
          ==========================================
          -I- Card Type 1, CSD_STRUCTURE 0
          -I- SD 4-BITS BUS
          -I- CMD6(1) arg 0x80FFFF01
          -I- SD HS Not Supported
          -I- SD/MMC TRANS SPEED 25000 KBit/s
          -I- SD/MMC card initialization successful
          -I- Card size: 483 MB, 990976 * 512B
          ...
    
  5. Test function menu is like this
          # i,I   : Re-initialize card
          # t     : Disk R/W/Verify test
          # T     : Disk performance test
          # p     : Change number of blocks in one access for test
    
See Also

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines