Seek C open source flash memory file management system

A

amg

Guest
Seek C open source flash memory file management system.

We are working on a MP3 player music file flash memory storage device. The
micro-code firmware is in C language. The micro-controller is similar to
8051 type uC.

Is there and where I can find a simple file management system?

Thank you.
 
On Wed, 20 Oct 2004 16:11:00 -0700, amg wrote:

Seek C open source flash memory file management system.

We are working on a MP3 player music file flash memory storage device. The
micro-code firmware is in C language. The micro-controller is similar to
8051 type uC.

Is there and where I can find a simple file management system?
Linux.

Cheers!
Rich
 
amg wrote:
Seek C open source flash memory file management system.

We are working on a MP3 player music file flash memory storage device. The
micro-code firmware is in C language. The micro-controller is similar to
8051 type uC.

Is there and where I can find a simple file management system?

Thank you.



Amg,

you won't get Linux onto an 8051, but have a
look at the source code. There is support for
many FLASH devices, under "Memory Technology
Devices".

A word of warning: pretty much all FLASH
translation layers (map large FLASH pages into
512 byte blocks) are covered by software
patents in the USA and subject to usage
restrictions.

If you want to be compatible with everyone else,
FAT is your only choice when it comes to file
systems.

Regards,

Iwo
 
But FAT is DOS systems?
How can I find a simple DOS system in 8051 microcontroller?

you won't get Linux onto an 8051, but have a
look at the source code. There is support for
many FLASH devices, under "Memory Technology
Devices".

A word of warning: pretty much all FLASH
translation layers (map large FLASH pages into
512 byte blocks) are covered by software
patents in the USA and subject to usage
restrictions.

If you want to be compatible with everyone else,
FAT is your only choice when it comes to file
systems.

Regards,

Iwo
 
amg wrote:
But FAT is DOS systems?
How can I find a simple DOS system in 8051 microcontroller?
I assume you are talking embedded systems here.

There are various levels to a file system. Depending on what you already
have, you might need a media driver, a file system driver, and some kind
of API for the file system.

FAT stands for File Allocation Table. Its a scheme for the format of
your flash disk. Its pretty much the standard for CF devices for MP3
players.

The nice thing about using FAT (as opposed to ext2, ufs, or reiserfs,
for example) is that you can use it to format, read, and write the flash
on a PC with a flash writer. Users like that. UFS is supported by BSD
and probably Mac OSX (although I'm not sure of that). ReiserFS and ext2
is supported by linux.

You can buy file systems from any number of places (probably a C
implementation, which you can them compile). You could write your own.
Or, I could write one for you for a 'few' k bucks... (assembler or C)

You could also take Rich's advice, and dig it out of the linux sources,
(I think he was advocating that) but there alot of cruft there to dig
through. IMHO, it would be easier to write from scratch, using the linux
sources as reference material.

--
Regards,
Robert Monsen

"Your Highness, I have no need of this hypothesis."
- Pierre Laplace (1749-1827), to Napoleon,
on why his works on celestial mechanics make no mention of God.
 
I notice my Nikon camera. The camera can format Flash card. It save & delete
files. When I plug this flash card into my computer thought a reader, the
flash card is formatted into similar to FAT file system. I can
read/write/delete file
at will, just like a floppy or a hard drive. Where can I find out more info
on this?
 
We are interested in simple file management system firmware. Please advise
if you can help? Anyone interested, please advise contact info.
I have sent email to Robert, but no response.
 
Rich Grise <rich@example.net> wrote:

On Wed, 20 Oct 2004 16:11:00 -0700, amg wrote:

Seek C open source flash memory file management system.

We are working on a MP3 player music file flash memory storage device. The
micro-code firmware is in C language. The micro-controller is similar to
8051 type uC.

Is there and where I can find a simple file management system?


Linux.

Cheers!
Rich
Perhaps http://www.freedos.org/ might provide some leaner stuff, since
ultimately it has to fit an 8051.

Joop
 
On Thu, 21 Oct 2004 20:48:32 +0000, Robert Monsen wrote:

amg wrote:
But FAT is DOS systems?
How can I find a simple DOS system in 8051 microcontroller?



I assume you are talking embedded systems here.

There are various levels to a file system. Depending on what you already
have, you might need a media driver, a file system driver, and some kind
of API for the file system.

FAT stands for File Allocation Table. Its a scheme for the format of
your flash disk. Its pretty much the standard for CF devices for MP3
players.

The nice thing about using FAT (as opposed to ext2, ufs, or reiserfs,
for example) is that you can use it to format, read, and write the flash
on a PC with a flash writer. Users like that. UFS is supported by BSD
and probably Mac OSX (although I'm not sure of that). ReiserFS and ext2
is supported by linux.

You can buy file systems from any number of places (probably a C
implementation, which you can them compile). You could write your own.
Or, I could write one for you for a 'few' k bucks... (assembler or C)

You could also take Rich's advice, and dig it out of the linux sources,
(I think he was advocating that) but there alot of cruft there to dig
through. IMHO, it would be easier to write from scratch, using the linux
sources as reference material.
Linux does support FAT. :)

But, alas, evidently nobody's ported it to the 8051 yet. )-;

Thanks,
Rich
 

Welcome to EDABoard.com

Sponsor

Back
Top