Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 09:04:53 21:04


Login with username, password and session length


Pages: [1]
Print
Author Topic: SD/FAT with ccs libraries.  (Read 7465 times)
0 Members and 1 Guest are viewing this topic.
wATAw
Guest
« on: March 10, 2008, 10:14:59 10:14 »

I am working in a project, where i have to write a sd card in FAT. So i would like know someone, who has worked with the libraries you can found in the lastest versions of CCS. And which is the electronic circuit you could use to get it?
Sorry about my english!! I would be very grateful!!

Posted on: March 07, 2008, 10:09:59 10:09 - Automerged

Anybody can help me please??
Logged
petarp
Junior Member
**
Offline Offline

Posts: 68

Thank You
-Given: 26
-Receive: 51


« Reply #1 on: March 10, 2008, 02:56:01 14:56 »

Hi. Look here:
http://www.ccsinfo.com/forum/viewtopic.php?p=76808&sid=056aeea56d0db84d06c44df322327843

Best Regards.
Logged
wATAw
Guest
« Reply #2 on: March 11, 2008, 09:38:05 21:38 »

I cant still see the links. But in few day i hope i will see it!!!thank you!!
Logged
mayler
Junior Member
**
Offline Offline

Posts: 68

Thank You
-Given: 14
-Receive: 13


Roger that!


WWW
« Reply #3 on: March 12, 2008, 12:10:39 00:10 »

It's a link on ccs forum... Make a search there. In the examples folder of ccs has a ex. with fat system.
Logged

Computer Engineer.
Digital IC Designer - Cadence certified.
Fred1
Guest
« Reply #4 on: March 12, 2008, 04:55:21 04:55 »

I have used the ccs fat routines with a sd card.  They don't work properly!

Their example seems like it works, but any files written to the sd card cannot be read on a PC.  I was using fat32 filesystem.

I would suggest finding another filesystem (or wait unitll ccs fix theirs!)

Logged
wATAw
Guest
« Reply #5 on: March 12, 2008, 09:30:13 09:30 »

Thank you very much!!
And what pic do you use?? i want to do it with pic18f4550, and i know that i need voltage dividers in CS,CLK and SDO, but i would like to know if is necessary something in SDI, to convert the 3.3 high level to 5 high level.
I don´t know if i have explained well because my english isn´t the best.... Cry Cry
I am trying to find the link you say me.
Thank you!!!
Logged
Fred1
Guest
« Reply #6 on: March 13, 2008, 03:21:39 03:21 »

Thank you very much!!
And what pic do you use?? i want to do it with pic18f4550, and i know that i need voltage dividers in CS,CLK and SDO, but i would like to know if is necessary something in SDI, to convert the 3.3 high level to 5 high level.
I don´t know if i have explained well because my english isn´t the best.... Cry Cry
I am trying to find the link you say me.
Thank you!!!

I used a 18f67J11 running at 3.3V, so level translation wasn't necessary.  You are going to have to run a level converter for the SDI pin - it needs a minimum (Vih) of 3.5V on a PIC running at 5V.  A pullup to the 5V supply could damage the memory card, so a simple resistor won't work!  One of these (SN74AHCT1G125DBVR) should do the trick.

Your english is fine, btw!


Logged
wimpoh
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 1
-Receive: 0


« Reply #7 on: March 20, 2008, 07:31:57 07:31 »

Can I find about format Fat32 in sd or mmc card?
I will use 18F452 make data logging from DO pobt.
and use sd or mmc card.
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