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

Weird MMC/SD FAT error

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
matt1971



Joined: 26 Oct 2008
Posts: 15

View user's profile Send private message

Weird MMC/SD FAT error
PostPosted: Thu Oct 30, 2008 2:49 pm     Reply with quote

I'm using the fat.c library supplied with PCH and I appear to be able to write files to an SD Card. But I cannot see those files when I put the SD card in my PC. I can create files from the PC and not see those on the PIC.

It's formatted FAT32/512 block, and it's almost like there are two FAT's on there - one for the PIC and one for the PC ?

Any ideas?
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Oct 30, 2008 2:55 pm     Reply with quote

The PIC is not correctly interpreting the MBR.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
matt1971



Joined: 26 Oct 2008
Posts: 15

View user's profile Send private message

PostPosted: Thu Oct 30, 2008 3:01 pm     Reply with quote

Presumably then, this is a bug in the fat.c library CCS supply. I'm on compiler 4.057
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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