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

Block Length in MMC

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



Joined: 25 Dec 2005
Posts: 4

View user's profile Send private message MSN Messenger

Block Length in MMC
PostPosted: Thu Jan 19, 2006 12:15 pm     Reply with quote

All MMC cards have 512 bytes block length only in one write/read cycle??
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Thu Jan 19, 2006 4:30 pm     Reply with quote

Quote:

All MMC cards have 512 bytes block length only in one write/read cycle??


Reading and writting to an MMC is generally done in 512 byte blocks, however erasing
often can be done in much larger blocks. For example SanDisk and other vendors has a
NAND architecture with an Erase Block capability of (32) or (64) 512 byte blocks, depending
of the card capacity. That is, in order to re-write a single 512 byte block, all other blocks that
belong to the same Erase Block will be simultaneously erased and it will need to be rewritten.


Humberto
asmallri



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

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

Re: Block Length in MMC
PostPosted: Thu Jan 19, 2006 6:57 pm     Reply with quote

FGiordani wrote:
All MMC cards have 512 bytes block length only in one write/read cycle??

The default read block size is 512 bytes. The read block size is configurable via a command and can be anything from 1 to 512 bytes. The write block size is always 512 bytes and must start on a 512 byte boundary.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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