Re: About Filesystem and partition
- From: "Sachin Patel [MS]" <sapatel@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Jan 2007 13:09:30 -0800
One thing to check is that FMD_EraseBlock is atomic. If you are using our
strata flash driver, then make sure that you have the latest QFEs (to
verify, you should have a VerifySignitures function in the FMD).
Sachin
--
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
"harber" <cool_harber@xxxxxxxxxxx> wrote in message
news:emzUCi1KHHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
yes,I tried TFAT.It`s more safe than FAT but also sometimes (much less
probability) crashed.
I developed an application that wrote file into NOR flash always and
plug out the battery.In this case,the OS sometimes stoped at the
process "filesys.exe" and can not startup any more.....
I want to create two partition one place my app and one leave for my
data(this area can be erased and wrote).So when the data partition
crashed ,OS can auto format the bad data partition by set "AutoFormat"
opition in the registry and the app partition is well.
Have you tried to enable TFAT file system? This should
help (but still not in all situations) to survive the
sadden power off. Anyway it is bad h/w design when OS
does not receive any chance to power down correctly.
What would you expect if the system is powered off
somewhere in the mid of the flash block write or block
erase operation?
harber wrote:
I found when i wrote file into flash patition,if the system power is
off,winCE OS offen could not be startup.With the debug message,there
was a exception by filesys.exe.Is the patition table corrupted?If so,
how can i prevent this? or how the OS can reformat the flash partion
automaticly if the partion table was corrupted?
Another question is that:how to creat two partions in the rest unused
nor flash? By default I can just see one partion :"NOR Flash".
.
- Follow-Ups:
- Re: About Filesystem and partition
- From: harber
- Re: About Filesystem and partition
- Prev by Date: Re: RAMFMD+TFAT+Full Format (Windows CE Emulator X86) problem ?
- Next by Date: Re: Global variables not initialized properly (Win CE 5.0)
- Previous by thread: Re: RAMFMD+TFAT+Full Format (Windows CE Emulator X86) problem ?
- Next by thread: Re: About Filesystem and partition
- Index(es):
Relevant Pages
|