View previous topic :: View next topic |
Author |
Message |
wedilo
Joined: 16 Sep 2003 Posts: 71 Location: Moers, Germany
|
Saving data to memo cards (sd, compactflash, memostick etc.) |
Posted: Fri Mar 05, 2004 5:00 am |
|
|
Hello folks,
How can I saving my data to memory cards like sd-card, memostick, compactflash etc. ??
Are they all working by different way?
I would like to use a card with an easy handling, but I don't know which and how.
Please help
73 Sven |
|
![](templates/subSilver/images/spacer.gif) |
Pete Smith
Joined: 17 Sep 2003 Posts: 55 Location: Chester, UK
|
Re: Saving data to memo cards (sd, compactflash, memostick e |
Posted: Fri Mar 05, 2004 7:48 am |
|
|
wedilo wrote: | Hello folks,
How can I saving my data to memory cards like sd-card, memostick, compactflash etc. ??
Are they all working by different way?
I would like to use a card with an easy handling, but I don't know which and how.
Please help
73 Sven |
It's easy to interface MMC devices to PICs. They're essentially a big SPI device.
They use 512 byte "blocks" which means you should really use external memory (or internal if your PIC has enough) to buffer a block before writing it.
AFAIK, Compact Flash has the same interface as ATA/IDE, which is a _little_ more involved.
I've never seen specs for Memory Stick.
HTH
Pete. |
|
![](templates/subSilver/images/spacer.gif) |
Ian McCrum
Joined: 26 Oct 2003 Posts: 14 Location: Northern Ireland
|
|
Posted: Sat Mar 06, 2004 6:07 pm |
|
|
Compact Flash cards have a mode where they are simple memory mapped. These can be driven simply with normal i/o lines, though since you won't have enough lines you would normally use latches (74HCT573) for the address lines.
I believe there was a detailed article in Circuit Cellar, and available for download as an archive, on interfacing to Compacy Flash.
Regards
Ian _________________ Ian McCrum, email address held at
www.eej.ulst.ac.uk/~ian |
|
![](templates/subSilver/images/spacer.gif) |
iseron
Joined: 21 Feb 2004 Posts: 12 Location: Santiago - Chile
|
|
Posted: Sun Mar 07, 2004 12:25 am |
|
|
NOw i'm finishing a project with a compact FLash - a datalogger exactly- and over all my research in all kind of memory types, the CF is the cheaper-resistant-supported-free specs- etc. You can use the 8 data bits of your PIC, and not using all the lines in memory mapped mode because it works with hard disk ATA comands who use only software to map the address to access in 512 bytes.
The CF has an internal buffer of 512 bytes and because of that yo can avoid an external buffer for fixed operations...
Plus you can read 2 good links.
MP3 player ---> PIC877+CF+DECODER ( no extra buffer & FAt32 support)
http://www.walrus.com/~raphael/html/mp3.html
Article of magazine.
http://www.circuitcellar.com/echips-pdfs/0201/c0201mspdf.pdf
I think this will help you .
Ignacio. |
|
![](templates/subSilver/images/spacer.gif) |
wedilo
Joined: 16 Sep 2003 Posts: 71 Location: Moers, Germany
|
|
Posted: Mon Mar 08, 2004 6:03 am |
|
|
Hello Pete, Ian and iseron,
thank you all for this great help. :-)))
73 Sven / DL2EBQ |
|
![](templates/subSilver/images/spacer.gif) |
|