Re: TFAT stability



I have also seen these failures on a few platforms, both CE 4.2 and 5.0. I
think that it has a lot to do with background compaction and removing power
while the flash is being modified.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"turnsek" <turnsek@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A6C143B2-6D21-49DF-8F05-B5950ECE3A2A@xxxxxxxxxxxxxxxx
> Hi all!
>
> We have PXA255 based platform with WCE42 and we are testing stability of
the
> platform. Our hardware is not battery backed and we rely on powerdown
driver
> and TFAT file system. We have noticed that after number of power down and
> power up cycles (quite a lot) our platform dies. We have flash resident
> persistent registry (hive based). Platform could not start anymore. I am
> suspecting that the file-system is corrupted (so the registry too). We are
> using msflash strata driver.
> Our settings are:
>
> [HKEY_LOCAL_MACHINE\System\StorageManager]
> "Dll"="fsdmgr.dll"
> "PNPUnloadDelay"=dword:0
>
> ; @CESYSGEN IF CE_MODULES_STRATAD
> ; HIVE BOOT SECTION
> ; StrataFlash block driver.
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
> "Dll"="stratad.dll"
> "Order"=dword:2
> "Prefix"="DSK"
> "Ioctl"=dword:4
> "Profile"="MSFlash"
> "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "MemBase"=dword:b9300000
> "MemLen"=dword:03000000
> "Flags"=dword:1000
>
> ; Override names in default profile
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
> "Name"="MSFLASH for STRATAFLASH"
> "Folder"="Storage Card"
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
> "AutoMount"=dword:1
> "AutoPart"=dword:1
> "AutoFormat"=dword:1
>
> ; Keep FATFS from trying to shadow \Windows
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
> "MountFlags"=dword:2
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
> "DriverPath"="Drivers\\BuiltIn\\StrataFMD"
> "LoadFlags"=dword:1
> "Order"=dword:0
>
> ; END HIVE BOOT SECTION
> ; @CESYSGEN ENDIF CE_MODULES_STRATAD
>
>
> ; @CESYSGEN IF FILESYS_FSREGHIVE
> ; HIVE BOOT SECTION
> [HKEY_LOCAL_MACHINE\init\BootVars]
> "SYSTEMHIVE"="Registry\\system.hv"
> "PROFILEDIR"="Registry"
> "Start DevMgr"=dword:1
> "DefaultUser"="Iskraemeco"
> ;Causing some debugchk's in debug version,
> ;performance monitoring tools doesn't work.
> ;RegistryFlags"=dword:1
> ; END HIVE BOOT SECTION
> ; @CESYSGEN ENDIF FILESYS_FSREGHIVE
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
> "FriendlyName"="FAT FileSystem"
> "Dll"="fatfsd.dll"
> ;"Flags"=dword:00000024
> "Flags"=dword:007C0028
> "Paging"=dword:1
> "EnableCache"=dword:1
> "CacheSize"=dword:0
> "Util"="fatutil.dll"
> "FormatTfat"=dword:1
> ; END HIVE BOOT SECTION
> ; @CESYSGEN ENDIF CE_MODULES_FATFSD
>
>
> Any help would be more then welcome.
>
> Thanks, Jernej
>


.



Relevant Pages

  • Re: loading dll through the wince shell
    ... i did checked the driver registry and modified it to non-pci based one. ... >> i have modified the available ensoniq platform dependent code wrt our ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 802.11 WLAN CF card support on WinCE42
    ... I found the problem in pCMCIA driver, ... I'd fix that first and then try to get card drivers to work. ... Here is the registry entry that I added for WiFi card: ... WinCE42 platform, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: M-System DiskOnChip
    ... You need to include some registry setting that provided by the ... Valter Minute wrote: ... I'v just create my Windows CE 5 platform. ... platform the driver of M-System for DiskOnChip. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: M-System DiskOnChip
    ... You need to include some registry setting that provided by the ... Valter Minute wrote: ... I'v just create my Windows CE 5 platform. ... platform the driver of M-System for DiskOnChip. ...
    (microsoft.public.windowsce.platbuilder)
  • TFAT stability
    ... We have PXA255 based platform with WCE42 and we are testing stability of the ... Our hardware is not battery backed and we rely on powerdown driver ... ; END HIVE BOOT SECTION ... ; @CESYSGEN ENDIF CE_MODULES_STRATAD ...
    (microsoft.public.windowsce.platbuilder)