Re: FAT16 boot record error
- From: Stef <stef33d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 Dec 2011 14:00:28 +0100
johsey <johann.seydoux@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm developing a "USB card reader" which must read a 512 bytes non-writable
memory and display it as a file.
Since the 512 bytes memory contains only data which have to be stored in
the file, I have to define in firmware the entire FAT as a big array. Thus,
no possibility to format the media using for example Windows.
I'm encountering problems when I connect my device to the host PC: Windows
7 asks if I want to format the removable device. As I understood and as I
saw with my USB analyzer, the OS doesn't seem to understand the FAT boot
sector. I based on the USB Mass Storage book from Jan Axelson.
Do someone have some ideas about what fields in the boot sector can
generate such an error? Do you know where I can find some documentation on
how Windows set the boot sector?
How big is the "disk" pretending to be? Small disks can only be FAT12, you
can not create an arbitrary sized FAT16 disk. There are set rules in
cluster count for each FAT type as the number of clusters is the only way
to determine the FAT type, see:
Stef (remove caps, dashes and .invalid from e-mail address to reply by mail)
Rule of the Great:
When people you greatly admire appear to be thinking deep
thoughts, they probably are thinking about lunch.
- Prev by Date: "Talking" to a "busy" application
- Next by Date: help with finding a wifi development kit
- Previous by thread: "Talking" to a "busy" application
- Next by thread: help with finding a wifi development kit