Solved

Reading/Writing to SD Card using a PIC

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

More and more people are using the enhanced small form-factor pluggable (SFP+) tranceivers, and speed is of utmost importance. Testing of speeds are critical to ensure that the devices will meet the speed requirements. There are some testing challen…
In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now