Searching \ for 'FAT on a PIC?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'FAT on a PIC?'.

Truncated match.
PICList Thread
'FAT on a PIC?'
1999\10\29@180703 by Randy Glenn

flavicon
face
Does anyone know where I can find a technical specification on FAT - as in the F
ile Allocation
Table? I'm looking at using it for a certain popular embedded system...

Also, does anyone think that it _wouldn't_ be insane to try and implelment FAT -
along with IDE,
ATAPI, and ISO 9660 - on a PIC? Even a high-capacity 17Cxxx or 18Cxxx?

Thanks,

-Randy
http://i.am/PICxpert - spam_OUTPICxpertTakeThisOuTspamtechie.com
         ICQ Nickname: PICxpert

1999\10\29@200612 by jeff

flavicon
face
It's not insane to implement IDE/ATAPI and a FAT filing system. I've
been thinking about doing the same thing. Interfacing to IDE is pretty
simple. ATAPI is more involved, but not terrible.

The first FAT reference that comes to my mind is in "The Indispensible
PC Hardware Book." I'm sure you can find other references on the web.
Dave Dunfield (http://www.dunfield.com) has some old PC based code
for implementing the FAT and basic I/O routines on a floppy. It's a
bit different with a hard drive, but it's a good starting point.

Although lots of people will point you to the Linux source code, I'd
ignore it. It's too Linux specific, with all sorts of inode junk.
You're best off reading up on the way the disk is structured under
DOS/Win95 (Win95 adds a few extensions) and looking at the Dunfield
source.

Regards,
Jeff

1999\10\30@002918 by Ben Stragnell

flavicon
face
I've done PIC/IDE interfacing, and it's not too bad. I didn't actually
implement FAT, but wound up using my own filesystem which was better
suited to the task at hand (streaming MP3's off a hard drive). I had 32K
of SRAM attached for storing clusters - presumably you're planning on
having some form of off-chip cache? At the very least, you'll probably
want to cache a single sector of FAT data, otherwise you're going to be
doing a lot of back-and-forth seeking between FAT and data sectors. Can
I ask what this is for?

Cheers,
Ben

1999\10\31@001419 by Randy Glenn

flavicon
face
>I've done PIC/IDE interfacing, and it's not too bad. I didn't actually
>implement FAT, but wound up using my own filesystem which was better
>suited to the task at hand (streaming MP3's off a hard drive). I had
>32K
>of SRAM attached for storing clusters - presumably you're planning on
>having some form of off-chip cache? At the very least, you'll probably
>want to cache a single sector of FAT data, otherwise you're going to
>be
>doing a lot of back-and-forth seeking between FAT and data sectors.
>Can
>I ask what this is for?

It's for an MP3 player, as a matter of fact. I want to make one using a Zip driv
e.

>Cheers,
>Ben

-Randy
http://i.am/PICxpert - .....PICxpertKILLspamspam@spam@techie.com
         ICQ Nickname: PICxpert

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...