MMC BascomAVR Code (C) COMPSys, 2001 Author: Ranjit Diol Email: rsdiol@compsys1.com Date: Nov 11th, 2001 ******************************************************************** * 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 AVR to MMC interface code. My current project involves using Bascom_AVR to read and write to files to an MMC formatted under Windows/DOS. As seen in the AVR section at http://www.compsys1.com/workbench/ The MMC.BAS file here includes just the basic routines necessary to read,write and erase an unformatted MMC using an AVR. The easiest way to interface the MMC is to use a 3.3v MCU, otherwise you will need to perform voltage translation between the MMC<->MCU data lines (5v > 3.3 v and 3.3v > 5v). This code is some preliminary work that I did and was not intended for release, therefore it lacks in-depth documentation and is provided AS-IS. A good site for MMC documentation is http://www.sandisk.com Cheers, Ranjit