| Author |
Message |
tobyhuang
Joined: 29 Mar 2005 Posts: 8
|
03 Apr 2005 3:47 SD card MMC, CF card reading |
|
|
|
|
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?
|
|
| Back to top |
|
 |
trend
Joined: 14 Dec 2004 Posts: 86 Helped: 5
|
03 Apr 2005 7:02 SD card MMC, CF card reading |
|
|
|
|
http://www.edtp.com/downloads.htm
There are 2 (maybemore )code examples on how to do this
|
|
| Back to top |
|
 |
Google AdSense

|
03 Apr 2005 7:02 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
tobyhuang
Joined: 29 Mar 2005 Posts: 8
|
03 Apr 2005 11:48 Re: SD card MMC, CF card reading |
|
|
|
|
Thanks for your info. it'll be better if there are more documents other than programming codes.
| trend wrote: |
h**p://www.edtp.com/downloads.htm
There are 2 (maybemore )code examples on how to do this |
|
|
| Back to top |
|
 |
solvall
Joined: 05 Apr 2005 Posts: 27 Helped: 9
|
05 Apr 2005 3:06 Re: SD card MMC, CF card reading |
|
|
|
|
| I suggest you read Microsoft's FAT document.
|
|
| Back to top |
|
 |
zhangpengyu
Joined: 28 Jun 2004 Posts: 177 Helped: 2
|
05 Apr 2005 14:30 SD card MMC, CF card reading |
|
|
|
|
| Flash is organized by page,block.
|
|
| Back to top |
|
 |
solvall
Joined: 05 Apr 2005 Posts: 27 Helped: 9
|
12 Apr 2005 17:34 Re: SD card MMC, CF card reading |
|
|
|
|
Hi,
bascially, you need to use SPI bus to access to SD/MMC.
|
|
| Back to top |
|
 |
jdhar
Joined: 16 Aug 2004 Posts: 261 Helped: 13
|
12 Apr 2005 23:53 SD card MMC, CF card reading |
|
|
|
|
http://www.circuitcellar.com/echips-pdfs/0201/c0201mspdf.pdf
Also search for the Compact Flash spec.
|
|
| Back to top |
|
 |
chandhramohan
Joined: 24 Mar 2005 Posts: 50 Helped: 6
|
13 Apr 2005 13:50 Re: SD card MMC, CF card reading |
|
|
|
|
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
|
|
| Back to top |
|
 |