Re: Flash Media Driver

From: Sachin Patel [MS] (sapatel_at_online.microsoft.com)
Date: 08/17/04


Date: Tue, 17 Aug 2004 14:39:30 -0700

How are you partitioning the flash? Are you using bootpart? It is possible
that some blocks are getting marked read-only in your FAT partition. Check
FMD_GetBlockStatus to see which blocks if any are marked read-only. Also,
is your image XIP directly from flash or are you using BINFS?

Sachin

-- 
To reply directly, remove "online" from my email address.
This posting is provided "AS IS" with no warranties, and confers no rights.
"divya" <divya.manian@gmail.com> wrote in message
news:cfs7ch$ga9$1@newshost.mot.com...
> I think I have framed my query badly. Here it goes:
>
> I am using WinCE 5.00. I have a NOR flash which is divided such that some
> part of it is used to store the winCE OS Image and the rest is used as a
> file system.
>
> My device driver (in the function FMD_GetInfo()) returns the correct
blocks
> and sectors. I have not locked the access to any device.
>
> For the file system, I am specifying the FAT file system. In the 4.2, the
> program works (with a few minor changes in the registry), but in 5.0 it
does
> not.
>
> Moreover, without specifiying the FAT filesystem in the registry, my Flash
> Read/Write test case 1002 passes. But when I specify the FAT filesystem in
> the registry it hangs at "50% complete".
>
> Is there anything wrong with my registry settings?
>
> Regards
>
> Divya Manian
>
>
>
> "divya" <divya.manian@gmail.com> wrote in message
> news:cfrov3$eak$1@newshost.mot.com...
> > Hi
> >
> > I have a NOR Flash device. I have written the Driver and set the
registry
> > settings so that it shows up as a FAT filesystem on the "My Device". I
can
> > even copy paste files into it. However, I cant copy or create new
folders.
> > It gives me an error : "Access Denied. Ensure that the disk is not write
> > protected or full". But then I am able to copy files into it! Is there
> > someway I have gone wrong with my registry settings? The relevant
registry
> > settings are:
> >
> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk]
> >  "FileSystem"="fatfsd.dll"
> >  "PartitionDriver"="mspart.dll"
> >  "AutoMount"=dword:1
> >  "AutoPart"=dword:1
> >  "AutoFormat"=dword:1
> >  "Name"="XXXX"
> >  "Folder"="NOR Flash"
> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk\FATFS]
> >  "MountSystem"=dword:1
> >
> > Regards
> >
> > Divya Manian
> >
> >
>
>


Relevant Pages

  • Re: FlashROM as a disk in CE 5.0
    ... FileSystem Starting - starting with clean file system ... Lower flash. ... 0x83fc8994: FLASHDRV.DLL:Unable to initialize FLASH Media Driver. ... I have added the Registry settings to Project.reg file like ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Flash Memory Wearing Qeustions
    ... File System) like JFFS or TrueFFS because unlike FAT, ... Samsung NAND flash memory. ... - FAT file systems writes the file's Directory Entry Structure each ...
    (microsoft.public.windowsce.embedded)
  • Re: Text File Open for Writing and Viewing.
    ... >> impact to the life cycle of the Flash Memory Chips. ... >open and close only changes RAM contents. ... I know only one CE manufacturer who bufferes the FAT in RAM ... - File System Driver checks, ...
    (microsoft.public.windowsce.app.development)
  • Re: Hive registry and flash storage
    ... it's making the RAM/ROM filesystem the destination for the hive registry. ... I am working with Hive registry and flash storage in wince 5.0 ... FileSystem Starting - starting with clean file system ...
    (microsoft.public.windowsce.embedded)
  • Re: Flash Media Driver
    ... I am using WinCE 5.00. ... For the file system, I am specifying the FAT file system. ... Moreover, without specifiying the FAT filesystem in the registry, my Flash ...
    (microsoft.public.windowsce.embedded)

Loading