Interface with MMC

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
Post Reply
vincentdean
Posts: 2
Joined: Sat Nov 26, 2005 1:01 am
Contact:

Interface with MMC

Post by vincentdean »

I would like send 8-bit analog sensor data from a PIC18F452 to a MMC so it can be read by a computer via a card reader.

I need a starting place in terms of coding the 18F452 in PicBasicPro as well as any considerations one has in interfacing with Flash memory.

Many thanks in advance.

-V
fripster
Posts: 40
Joined: Mon Nov 21, 2005 1:01 am
Location: The Netherlands
Contact:

Re: Interface with MMC

Post by fripster »

hi there,

you should go to www.circuitsonline.nl it's a dutch site about electronics, just like this one and there are some guys there who have doen just that! maybe you can get their code

cheers

Da fripster

<small>[ November 27, 2005, 11:01 AM: Message edited by: fripster ]</small>
Once a WireHead, Always a WireHead
Robert Reed
Posts: 2277
Joined: Wed Nov 24, 2004 1:01 am
Location: ASHTABULA,OHIO
Contact:

Re: Interface with MMC

Post by Robert Reed »

Fripster

www.circuitsonline.nl

Is it possible to get that in english?
User avatar
philba
Posts: 2050
Joined: Tue Nov 30, 2004 1:01 am
Location: Seattle
Contact:

Re: Interface with MMC

Post by philba »

In case you don't want to learn Dutch (not that there's anything wrong with it...), you could try google. A quick search brought up the following hits on the first page alone:
http://www.microchipc.com/sourcecode/#mmc
http://www.compsys1.com/workbench/On_to ... oject.html
http://www.captain.at/electronics/pic-mmc/
http://homepage.ntlworld.com/seanellis/mmcserial.htm
http://www.hcilab.org/projects/particle ... es-mmc.htm
vincentdean
Posts: 2
Joined: Sat Nov 26, 2005 1:01 am
Contact:

Re: Interface with MMC

Post by vincentdean »

Thanks for the links.

I've found this link:

http://www.compsys1.com/workbench/On_to ... oject.html

to be pretty helpful, but I'm not yet able to get info onto/off of the card. I'm using a PIC 18f454 coded in PIC BASIC PRO, I am also using a uMMC breakout board from www.sparkfun.com. There is very little documentation on this product so I am piecing together other documentation to make it work.

Thanks for the help- I'll let you know how this goes.
Mike
Posts: 1813
Joined: Thu Mar 06, 2003 1:01 am
Location: Illinois
Contact:

Re: Interface with MMC

Post by Mike »

http://babelfish.altavista.com/babelfis ... line.nl%2f

Theres that website, circuitsonline.nl in english. It's still not perfect, but for the most part is understandable.
fripster
Posts: 40
Joined: Mon Nov 21, 2005 1:01 am
Location: The Netherlands
Contact:

Re: Interface with MMC

Post by fripster »

i'm grinning like mad here ;-)
Americans trying to understand dutch whooooohooo!

Da fripster
Once a WireHead, Always a WireHead
upand_at_them
Posts: 11
Joined: Fri Dec 02, 2005 1:01 am
Contact:

Re: Interface with MMC

Post by upand_at_them »

I've interface MMC and SD cards to a PIC. The links provided above show how easy the interface is with SPI.

To read the data on a PIC, however, you need to write to the card in FAT format. This means that you'll need to read the FAT spec from Microsoft. I've seen libraries for FAT available for a fee.

Mike
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 27 guests