Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: at91sam7s64+nand flash+ FAT file system?
PostPosted: Fri Jan 07, 2005 4:59 am 
Offline

Joined: Thu Jan 06, 2005 11:48 am
Posts: 3
hello , I'm very glad to join you here. I have fall into the trouble for several days. I have some questions to solve.

I want to design a system with usb interface . The system is composed of AT91SAM7S64, nand flash, usb interface, and Irda interface. I want to run a FAT system in order to manage the wrong sectors of nand flash and data in the system without OS.
I have never plant FAT file system in ARM7 system before, and I am not familiar with FAT file system. So I want to consult everyone here how much difficulty I will have if I decide to implement the system. And I want to know who has the experience on the aspect . Who can help me? Thanks very much!!!

Best regard! :P


Top
 Profile  
 
 Post subject: Re: at91sam7s64+nand flash+ FAT file system?
PostPosted: Fri Jan 07, 2005 6:43 am 
Offline

Joined: Wed Dec 08, 2004 5:06 pm
Posts: 4
leeh_cn wrote:
hello , I'm very glad to join you here. I have fall into the trouble for several days. I have some questions to solve.

I want to design a system with usb interface . The system is composed of AT91SAM7S64, nand flash, usb interface, and Irda interface. I want to run a FAT system in order to manage the wrong sectors of nand flash and data in the system without OS.
I have never plant FAT file system in ARM7 system before, and I am not familiar with FAT file system. So I want to consult everyone here how much difficulty I will have if I decide to implement the system. And I want to know who has the experience on the aspect . Who can help me? Thanks very much!!!

Best regard! :P

Greetings and salutations. You can get information reguarding the FAT file system from microsofts website. Are you using a serial NAND device? The Sam7S64 can be made to work with a memory maped device but will require a number of external components to do so. This is because it has no external bus. If you have some plan to over come this then I suppose you are well off.

The FAT system microsoft claims as it's intellectual property so there may be some troubles with things there. I assume you know everything you need to too implement the USB interface. The simplest FAT version is FAT16 this limites you to 65536 * 512 bytes of storage or 32M max. FAT32 allows larger storage but with a much larger set of FAT's.

Here is a link to Microsoft's idea of how to handle FAT32 usage (legalese on the page)
http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx.

Depending on what you wish to do you may want to look at another possible file type. Are you attempting to make a 'DISK' image mountable via the USB port for a PC?

Cyb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 5:06 am 
Offline

Joined: Sun Dec 05, 2004 3:00 am
Posts: 14
Location: Christchurch, New Zealand
FAT is really bad for embedded systems - particularly on NAND. Some people claim that FAT file systems cause most returns on devices with embedded file systems. I could believe this.

FAT, itself, does not provide wear levelling or block management etc. This is the role of a block driver.

As alternative is to use a flash file system for NAND (eg. YAFFS or JFFS2).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


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 post attachments in this forum

Search for:
Jump to: