Hi,
I have a problem on a NAND Flash Partition with WEC7, after some days of normal usage of write/read/find files operation the file system behaviour seems corrupted: existing files and folder disappear, open an existing files for reading is not possible because the read() can't return nothing even if the file is not empty, it's not possible to add more file on the partition. The flash partition is not full, so I exclude problems related to free space.
To restore the partition to normal usage I need to restart WEC7, after rebooting the files are not corrupted or deleted accidentally.
The System is based on the TI BSP BSP_WINCE_ARM_A8_02_30_00
Does anyone have similar problems on WEC7? Below the registry configuration of the Flash Partition
Thanks
Stefano Bianconi
IF BSP_OMAP_NAND
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Init\BootVars]
"SystemHive"="Documents and Settings\\System.hv"
"Flags"=dword:3
"RegistryFlags"=dword:1 ; aggressive flush
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
"Flags"=dword:00011000 ; load driver in boot phase 1; do not load again later
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"MountAsBootable"=dword:1
"EnableWriteBack"=dword:1
"Flags"=dword:14
"FormatTFAT"=dword:0
"FormatExfat"=dword:1
"CheckForFormat"=dword:1 ; Ask the OAL if we should format on boot (i.e. cold reset)
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"AutoMount"=dword:1
"AutoPart"=dword:0
"AutoFormat"=dword:0
"MountFlags"=dword:0
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"Folder"="Flash Disk"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
"Dll"="omap_nand.dll"
"Prefix"="DSK"
"Index"=dword:0
"Order"=dword:4
"MemBase"=multi_sz:"6E000000","08000000"
"MemLen"=multi_sz:"00001000","00001000"
;"DmaCh"=dword:3
; CE_DRIVER_BLOCK_GUID
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Profile"="MSFlash"
; END HIVE BOOT SECTION
ENDIF BSP_OMAP_NAND