CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

SD Card FAT CCS
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hemasc_



Joined: 01 Aug 2012
Posts: 15
Location: Brazil

View user's profile Send private message Visit poster's website

PostPosted: Sat Sep 21, 2013 6:10 am     Reply with quote

I was testing a "new hardware"... but is solved... short circuit

patience ckielstra...

I'm using a 5V processor and it is functioning properly
have a voltage regulator to 3.3V

I repeat, I can write on the SD Card, but not FAT
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Sep 21, 2013 7:15 am     Reply with quote

As others have said,the software does work, on properly configured hardware.
Depending on the I/O pins you've selected for interface, odds are real good it won't work, though it's NOT a driver problem.
It's the 5V PIC and 3V MMC card problem. You _must_ properly interface the two devices, as has been pointed out on numerous 'threads'
Simple solution, get a 3V ( LF) series PIC. If pin for pin with what you're using, a simple, remove 5V PIC, insert 3V PIC and it'll be 'up and running'
Next solution, is to use a 'logic level' translation device (IC or FETs) between the 5V PIC and the 3V MMC card.
I could write an eBOOK about this subject and retire a millionaire if people bought it. It all boils down to proper hardware design and construction.


If all else fails, buy a Viniculum module and ANY flashdrive and you'll have an EASY storage 'system' in 10-15 minutes. It'll cost about $40.
hth
jay
hemasc_



Joined: 01 Aug 2012
Posts: 15
Location: Brazil

View user's profile Send private message Visit poster's website

PostPosted: Sun Sep 22, 2013 8:59 am     Reply with quote

I wrote and read the SD Card, but no in FAT format, then the hardware is correct
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group