Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 07, 2016, 07:13:11 19:13


Login with username, password and session length


Pages: [1]
Print
Author Topic: SD Card Read & Write  (Read 3774 times)
0 Members and 1 Guest are viewing this topic.
zawmintun1
Active Member
***
Offline Offline

Posts: 118

Thank You
-Given: 400
-Receive: 24


« on: February 20, 2008, 01:56:39 13:56 »


How to
SD Card 512 MB with PIC Microcontroller for Reading and Writing
Please help me as Proteus Projects design Files
Thank a Lot
Logged
adamhorden
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 3
-Receive: 3


« Reply #1 on: February 20, 2008, 10:27:18 22:27 »

There is some good information here http://www.captain.at/electronic-atmega-mmc.php It explains about SD cards in that artical and how to read and write to them with a micro controller,

Hope this helps,

Adam
Logged
mitaka
Guest
« Reply #2 on: March 28, 2008, 12:57:03 00:57 »

you can use this code :
http://efsl.be/
basically you only have to write a function that writes and reads a buffer.
« Last Edit: March 28, 2008, 01:01:59 01:01 by mitaka » Logged
wichayen
Guest
« Reply #3 on: April 02, 2008, 04:51:26 04:51 »

SD Card can communicate with SPI interface.
There have some book that expand about SD card interface with PIC. If you search for
"Programming 16-Bit PIC Microcontrollers" in this borad you can find.

Note: This book also give the concept of FAT16.
Logged
cooperharris
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 72
-Receive: 22


« Reply #4 on: May 22, 2008, 01:44:03 13:44 »

any one got a exact page  for the  whole project  using pic?
Logged
Walkura
Active Member
***
Offline Offline

Posts: 123

Thank You
-Given: 55
-Receive: 82


« Reply #5 on: May 23, 2008, 01:29:08 13:29 »

Some time ago i downloaded a proteus sim with a sd card and as it turned out its from Sonsivri.com .
http://www.sonsivri.com/forum/index.php?topic=6658.0
Have a look at this maybe this will get you on track .

Good luck Walkura.
Logged
eoasap
Newbie
*
 Muted
Offline Offline

Posts: 13

Thank You
-Given: 39
-Receive: 43


« Reply #6 on: July 29, 2008, 03:57:11 15:57 »

If you want to read/write from the SD card, you must know the SPI protocol, that's it.

However, If you want to make it compatible with windows (linux, etc..) you must adhere to the FAT
format which is very complex. You can either spend a year learning it, or you can use off the shelf
chips that contain the fat stack.

Alfat is one of several companies that create a system where you communicate using DOS-like
commands and UART to write the code and the chip handles the FAT.

Homepage
http://www.alfat.co.uk/


Project Examples (Mine is 2nd from bottom, the GPS logger)
http://www.alfat.co.uk/projects.html
Logged
Joe_jj
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 0


« Reply #7 on: August 01, 2008, 04:23:03 16:23 »

Search in the lab electronic forum (proteus supporter site).
There are some topic talk about that.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC