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 support@ccsinfo.com

MMC FAT Only Read

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



Joined: 02 Mar 2008
Posts: 1

View user's profile Send private message

MMC FAT Only Read
PostPosted: Sun Mar 02, 2008 2:17 pm     Reply with quote

I have read that it's possible to use the MMC with the PIC, but the problem is the FAT, you can write a file (eg 10kb) with the PC on MMC and read it sequentially from the pic byte per byte? Or it must to use the 512b blocks ?
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Sun Mar 02, 2008 8:40 pm     Reply with quote

The requirement of a 512 block size only applies to write.
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: Sun Mar 02, 2008 10:36 pm     Reply with quote

It also applies to the new high density SD/MMC cards for read.
_________________
Regards, Andrew

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


Last edited by asmallri on Tue Mar 04, 2008 7:40 am; edited 1 time in total
Pret



Joined: 18 Jul 2006
Posts: 92
Location: Iasi, Romania

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 12:42 am     Reply with quote

The answer is Yes. Most FAT drivers can access files at byte level, even though the driver is using 512byte sized buffer. But of course, your PIC must have around 1k RAM, with FAT driver, MMM/SD driver, and your application...
Guest








PostPosted: Mon Mar 03, 2008 3:34 am     Reply with quote

Douglas Kennedy wrote:
The requirement of a 512 block size only applies to write.


You know how I can locate the file?
Pret



Joined: 18 Jul 2006
Posts: 92
Location: Iasi, Romania

View user's profile Send private message

PostPosted: Tue Mar 04, 2008 2:16 am     Reply with quote

Anonymous wrote:
You know how I can locate the file?

Using any FAT driver.... Rolling Eyes
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