MMC PICBasicPro Code SD3X_IO.BAS (for the SD3X board)
(C) COMPSys, 2003
Author: Ranjit Diol
Email:  rsdiol@compsys1.com
Date:   Nov 1, 2003

    ********************************************************************
    *   DISCLAIMER: This file is being released as non-commericial     *
    *   software. It is being provided "AS IS", neither the author,    *
    *   nor COMPSys shall be held liable for any damages caused        *
    *   by its use either directly or indirectly in any form or manner.*
    ********************************************************************


I've had numerous requests for some PIC basic code to interface with an MMC/SD. This code will
demonstrate reading and writing to an MMC/SD using a PIC16F876 (see the MMC/SD project section at http://www.compsys1.com/workbench/ for more details )

The SD3X_IO.BAS file includes just the basic routines necessary to read and write an unformatted MMC/SD using a PIC and works with the Window's app MMC I/O (MMCIO1.EXE) available at the COMPSys Workbench website (http://www.compsys1.com/workbench).

The easiest way to interface the MMC/SD is to use a 3.3v MCU (I run the PIC16F876 at 3.3 volts), otherwise you will need to perform voltage translation between the MMC/SD<->MCU data lines (5v > 3.3 v and 3.3v > 5v).

This code being released for NON-COMMERCIAL USE ONLY and is provided AS-IS.

A good site for MMC documentation is http://www.sandisk.com and http://www.sd.org for SD cards.


Cheers,
Ranjit

