Solved

Reading/Writing to SD Card using a PIC

Posted on 2006-11-14
3
2,974 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PC Build 11 207
Windows 10 update bricked my Dell Inspiron  3520 laptop 17 193
Win XP Blue Screen Dump Files - Interpretation required.. 14 145
Cross checking component service dlls 2 46
I have purchased two new systems and both are now Universal Extensible Firmware Interface (UEFI) based. UEFI is replacing BIOS for the desktop PC. It is a Linux based firmware with enough robustness it can communicate with a website without loading …
On Beyond Tools A conversation I recently had with the DevOps manager of a major online retailer really made me think about DevOps monitoring tools (https://www.onpage.com/devops-incident-management-tool/). The manager and I discussed how sever…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

710 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