Solved

Reading/Writing to SD Card using a PIC

Posted on 2006-11-14
3
2,983 Views
Last Modified: 2013-12-09
We're trying to read and write to an SD card using a PIC18F452. CMD0 and CMD1 work (to initialize the SD card into SPI mode), but any other command after that including CMD0 and CMD1 don't respond.

Any help wil be greatly appreciated.
0
Comment
Question by:SETP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
d-glitch earned 500 total points
ID: 17938920
Is an SD card the same thing as a CompactFlash card??

Maybe this recent article from EDN will be helpful:   http://www.edn.com/contents/images/6363906.pdf

Afraid I can't be much help otherwise.  You are probably several month ahead of me.
0
 
LVL 27

Assisted Solution

by:d-glitch
d-glitch earned 500 total points
ID: 17939008
I see that the SD is a special type of Flash.

And I see these links:

     http://www.compsys1.com/workbench/On_top_of_the_Bench/MMC_Project/mmc_project.html

     http://www.k9spud.com/sdcard/
0
 
LVL 12

Expert Comment

by:public
ID: 17953973
Compact flash card uses a parallel interface, SD card uses a serial interface.
Try monitoring the clock and data lines with a scope to see any activity when the card does not respond.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article applies to This article will be of use if you are the owner / supporter of any computer that comes with a discrete graphics card from nVidia / ATI Radeon (Now owned by AMD) or any embedded graphics solution and need to upgrade the gr…
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question