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.
This package can be used with SAM V71 Xplained Ultra board.
Open HyperTerminal before running this program, the HyperTerminal will give out the test hints, you can run different tests on a inserted card.
The MultiMedia Card Example offers a set of functions to perform MultiMedia Card tests:
-- 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 ...
# 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