WinCE operates FAT file system in strange manner
- From: "qiuzhang_" <overfly_@xxxxxxx>
- Date: 27 Jun 2006 02:27:18 -0700
Hi all!
I am developping a usb mass storage function driver in WinCE4.2.
I use FMD_ReadSector() and FMD_WriteSector() in CE driver to serve
the
READ10 or WRITE10 CBW posted from usb host.
I found the FAT32 formated by WinCE is so strange. Having Computed
from
DBR(BPB) and
the LBA value stored in sectorinfo of each sector,I know the position
of FAt
table andthe data setion start. In WinCE, I copy a file to
ResidentFlash
directory(FAT32 partition),then I find the actual FAT table is not
write,but WInCE set a sector of data section to FAT Table.And the new
sector used for FAT Table is marked with
a LBA value as same as the start sector of actual FAT table. So there
are some sectors
with teh same LBA.
So,when I cannot make the device to serve correctly to the READ10 or
WRITE10 CBW from usb host.
Anyone can help me? Thanks a lot!
.
- Prev by Date: How Can I handle more than one interrupt in a device driver?
- Next by Date: Re: wince 5.0 freeze
- Previous by thread: How Can I handle more than one interrupt in a device driver?
- Next by thread: Re: how to use standard graphic shell in IPphone OS
- Index(es):
Relevant Pages
|