On Tue, 2002-05-28 at 05:02, Ben wrote:

> >>Would the device also need to implement some sort of file system, such 
> >>as ext2?
> >>    
> >>
> >Yes, probably.  The protocol operates at the block layer...  unless you can
> >store what you need using block-level access, some filesystem support will
> >be needed.
> >  
> >
> I'm thinking of using either the PIC16C745 or the PIC16C765 - as it has 
> builtin USB support - but only 8k of ROM...
> 
> Um, any recommendations for a file system that is well documented and 
> easy to support with a limited amount of memory?

If your device needs to read the file system then all depends on other
requirements. For example, if the device will work only on Linux then
there are couple of embedded FS'es already in the kernel, and you could
use one of them. Otherwise you should use one of DOS FS'es because they
are a lowest common denominator, are well documented, and can be easily
implemented in your microcontroller.

Better FS'es, such as NTFS or ext2, are designed for performance and
good caching - not something that you probably care about.

Depending on your needs (which I do not know), you might want to use the
device just in raw mode, as a random access storage. If your intent is
only to communicate with the device then it could work just fine. For
example, a waveform synthesizer would only need a block of binary data.

If your device is storage-only, then it does not need to read the FS at
all.

Thanks,
Dmitri

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to