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

FAT Question

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



Joined: 18 Oct 2003
Posts: 145

View user's profile Send private message

FAT Question
PostPosted: Sun Mar 22, 2009 8:17 pm     Reply with quote

Hi,

I want to use the FAT driver from CCS with a ATMEL dataflash, anybody make this?, Is possible?

Thank you very much!
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Mon Mar 23, 2009 12:15 am     Reply with quote

It should be usable (with some adaptions). Basically FAT can be used with any block addressable media. But you must observe this DataFlash requirement:
Quote:
To preserve data integrity, each page of a DataFlash sector must be updated/rewritten at least once within every 10,000 cumulative page erase/program operations.

A simple algorithm is suggested in the datasheet, but it requires a non-volatile page pointer.

P.S.: I noticed, that newer DataFlash datasheets are using the term endurance, which has been apparently unknown at Atmel in the past. They specify 100k erase/write cycles at minimum. It's doubtful, if DataFlash should be used without a wear-leveling flash translation layer for FAT, that is permanently to some sectors (directory and FAT).
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