Forums

FAT/wear-levelling code

Started by Unknown March 5, 2008
Hello,

I am developing an application on a LPC2366 ARM based board that needs
large storage capabilities. This board has an external flash memory
(ATMEL 45DB161D-2Mega). I am thinking to use/develop a FAT file system
than will use this memory. The FAT layer will also need wear-levelling
algorithms in order to prevent data corruption.

Does anyone here can suggest any free open source or comercial
libraries I could use in order to have FAT acess on an Atmel 45DB161D
flash memory. Such library must implement wear-levelling.

Thanks a lot,
AndrMoutinho



An Engineer's Guide to the LPC2100 Series

i see for PIC
To: l...From: m...@compsisnet.com.brDate: Wed, 5 Mar 2008 18:29:34 +0000Subject: [lpc2000] FAT/wear-levelling code

Hello,I am developing an application on a LPC2366 ARM based board that needs large storage capabilities. This board has an external flash memory (ATMEL 45DB161D-2Mega). I am thinking to use/develop a FAT file system than will use this memory. The FAT layer will also need wear-levelling algorithms in order to prevent data corruption.Does anyone here can suggest any free open source or comercial libraries I could use in order to have FAT acess on an Atmel 45DB161D flash memory. Such library must implement wear-levelling.Thanks a lot,AndrMoutinho

_________________________________________________________________
Veja mapas e encontre as melhores rotas para fugir do trsito com o Live Search Maps!
http://www.livemaps.com.br/index.aspx?tr=true





Hi,

AndrMoutinho wrote:
> Hello,
>
> I am developing an application on a LPC2366 ARM based board that needs
> large storage capabilities. This board has an external flash memory
> (ATMEL 45DB161D-2Mega). I am thinking to use/develop a FAT file system
> than will use this memory. The FAT layer will also need wear-levelling
> algorithms in order to prevent data corruption.

The wear-leveling algorithms have to run in a lower layer, otherwise it
wouldn't be FAT file system.

By the way, memory cards (SD/MMC) have built-in wear-leveling and they
come only in large sizes nowadays.
best regards,
Andrei
Hi,

[ snip regarding SD card sizes]

> come only in large sizes nowadays?
> I thought that they always were the same size.In fact nowadays the
> come in smaller package like microSD and miniSD which are really tiny

I believe the OP meant large capacities. The 2G microSD card that I have
here is miniscule, how can it fit all that stuff onto something so tiny?

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
--- In l..., "ghetto_shinobi"
wrote:
>
> --- In l..., AndrMoutinho wrote:
> >
> > Hello,
> >
> > I am developing an application on a LPC2366 ARM based board that
needs
> > large storage capabilities. This board has an external flash memory
> > (ATMEL 45DB161D-2Mega). I am thinking to use/develop a FAT file
system
> > than will use this memory. The FAT layer will also need
wear-levelling
> > algorithms in order to prevent data corruption.
> >
> > Does anyone here can suggest any free open source or comercial
> > libraries I could use in order to have FAT acess on an Atmel 45DB161D
> > flash memory. Such library must implement wear-levelling.
> >
> > Thanks a lot,
> > AndrMoutinho
> >
> Hi
>
> I remember reading in a magazine a while ago an article in which was
> said that Atmel offers for free( you must sign a license agreement
> first )complete file systems for DataFlash memories and if i'm not
> mistaken it also supports wear leveling.
>

I tried the Atmel code. It supported a wide range of chips and
functionality, but it also supported too many unresolved symbols :(

Gave up - it taking too much time.

Anyone else got this Atmel freebie to work?

Rgds,
Martin



--- In l..., Andrei Errapart wrote:
>
> Hi,
>
> AndrMoutinho wrote:
> > Hello,
> >
> > I am developing an application on a LPC2366 ARM based board that
needs
> > large storage capabilities. This board has an external flash memory
> > (ATMEL 45DB161D-2Mega). I am thinking to use/develop a FAT file
system
> > than will use this memory. The FAT layer will also need
wear-levelling
> > algorithms in order to prevent data corruption.
>
> The wear-leveling algorithms have to run in a lower layer, otherwise it
> wouldn't be FAT file system.
>
> By the way, memory cards (SD/MMC) have built-in wear-leveling and they
> come only in large sizes nowadays.
>
>
> best regards,
> Andrei
>

come only in large sizes nowadays?
I thought that they always were the same size.In fact nowadays the
come in smaller package like microSD and miniSD which are really tiny

Regards!



--- In l..., AndrMoutinho wrote:
> Does anyone here can suggest any free open source or comercial
> libraries I could use in order to have FAT acess on an Atmel 45DB161D
> flash memory. Such library must implement wear-levelling.

I've use this (not free) product under a separate VFAT implementation
to get wear-leveling as part of a the full NAND FTL:
http://www.nohau.co.uk/products/hcc/ftl.htm . I think they also sell a
FAT layer too.

Greg



--- In l..., AndrMoutinho wrote:
>
> Hello,
>
> I am developing an application on a LPC2366 ARM based board that needs
> large storage capabilities. This board has an external flash memory
> (ATMEL 45DB161D-2Mega). I am thinking to use/develop a FAT file system
> than will use this memory. The FAT layer will also need wear-levelling
> algorithms in order to prevent data corruption.
>
> Does anyone here can suggest any free open source or comercial
> libraries I could use in order to have FAT acess on an Atmel 45DB161D
> flash memory. Such library must implement wear-levelling.
>
> Thanks a lot,
> AndrMoutinho
>
Hi

I remember reading in a magazine a while ago an article in which was
said that Atmel offers for free( you must sign a license agreement
first )complete file systems for DataFlash memories and if i'm not
mistaken it also supports wear leveling.

Regards!