EmbeddedRelated.com
Forums

Good SPI sample with MMC or SD card

Started by berserksemi February 9, 2006
Portable FAT Library for MCU Applications
Ivan Sham, William Hue & Pete Rizun
The DOS FAT file system is the industry standard format for flash 
memory cards. You can use a microcontroller to read and write files on 
an SD/MMC flash memory card with the FAT system. Read on to learn how 
to build a portable FAT library for MCU applications. p.18

Keywords: DOS FAT, SD/MMC, memory card, flash, file system, MSP430

http://www.circuitcellar.com/magazine/176toc.htm
ftp://ftp.circuitcellar.com/pub/Circuit_Cellar/2005/176/Sham176.zip   
(Source Code)
	I think that these are the proper links..
	On Feb 17, 2006, at 15:22, berserksemi wrote:

> I don't know if it's the link that Scott
was talking about but here it
>  is : http://www.circuitcellar.com/pastissues/articles/Tom99/text.htm
>
>  --- In rabbit-semi@rabb..., "Craig Atkin" <craig@...>
wrote:
>  >
>  > Hi,
>  > You wouldn't happen to have the link to the article on
>  circuitcellar.com?
>  >
>  > Regards
>  >
>  > -----Original Message-----
>  > From: berserksemi [mailto:yannickg@...]
>  > Sent: Friday, 17 February 2006 12:39 AM
>  > To: rabbit-semi@rabb...
>  > Subject: [rabbit-semi] Re: Good SPI sample with MMC or SD card
>  >
>  >
>  > Thanks! I gave a look at circuitcellar.com and found some
>  interesting info.
>  >
>  > --- In rabbit-semi@rabb..., Scott Henion <shenion@> wrote:
>  > >
>  > > berserksemi wrote:
>  > > > --- In rabbit-semi@rabb..., "berserksemi"
<yannickg@> 
> wrote:
>  > > >  
>  > > >> Hi,
>  > > >>
>  > > >> I'm trying to read and write on a MMC card with a
RCM3700 dev 
> kit
>  > > >> and the sample included with Dynamic C is not helping a
lot so 
> if
>  > > >> any of you have some tips or code sample it would be
much
>  > > >> appreciated.
>  > > >>
>  > > >> Thanks!
>  > > >>
>  > > >>    
>  > > >
>  > > > Am I doing something wrong here or maybe asking too much or
>  > > > something too complicated because I posted 2 messages and
didn't
>  get
>  > > > any answers.  Don't get me wrong, I'm not
complaining, I'm just
>  > > > trying to understand.
>  > > >  
>  > > The SPI driver in sflash.lib is a good start. My MMC driver was
>  > > loosely based on the one that was ported at Softools then  
> optimized.
>  > >
>  > > MMC is straightforward SPI. Just remember that you can't
talk over
>  > > 400khz until the card is out of the idle state
>  > >
>  > > There was an article in in Circuit Cellar with sample code for
>  > > accessing MMC/FAT. Much of My MMC driver comes from it. The
basic 
> MMC
>  > > commands were used.
>  > >
>  > > <Scott>
>  > >
>  > > --
>  > > ------
>  > > | Scott G. Henion| shenion@ |
>  > > |   Consultant   |   Stone
Mountain, GA  |
>  > > |   SHDesigns    |   PGP Key
0xE98DDC48  |
>  > > |    
http://www.shdesigns.org          
|
>  > > ------
>  > > today's fortune
>  > > They're giving bank robbing a bad name.
>  > >             --
John Dillinger, on Bonnie and Clyde
>  > >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  > 
>  > Yahoo! Groups Links
>  >
>
>
>
>
>
>
> SPONSORED LINKS
> Embedded module
> Microcontrollers
> Z-world
> Intel microprocessors
> Pic microcontrollers
>
> YAHOO! GROUPS LINKS
>
> 	▪ 	 
>
>