Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SD card MMC, CF card reading

Status
Not open for further replies.

tobyhuang

Newbie level 5
Newbie level 5
Joined
Mar 29, 2005
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,340
Hi
Does anyone know how to read /write Flash memory cards, such as
SD , MMC and CF?
does every flash memory card have its own FAT16 or FAT32 like IDE Hard Drive?
 

**broken link removed**

There are 2 (maybemore )code examples on how to do this
 

    tobyhuang

    Points: 2
    Helpful Answer Positive Rating
Thanks for your info. it'll be better if there are more documents other than programming codes.
trend said:
h**p://www.edtp.com/downloads.htm

There are 2 (maybemore )code examples on how to do this
 

I suggest you read Microsoft's FAT document.
 

    tobyhuang

    Points: 2
    Helpful Answer Positive Rating
Flash is organized by page,block.
 

Hi,
bascially, you need to use SPI bus to access to SD/MMC.
 

    tobyhuang

    Points: 2
    Helpful Answer Positive Rating
**broken link removed**

Also search for the Compact Flash spec.
 

Hi ,
You can do read / write by sending the LBA of sector (Page) through the protocol which the Flash media can understand . For CFC flash spec can be downloaded from www.t10.org , which follows ATA protocol .
For the FAT concepts see the below link for basics ,
www.pjrc.com/tech/8051/ide/fat32.html
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top