Re: About Filesystem and partition



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".
.



Relevant Pages

  • Re: About Filesystem and partition
    ... Have you tried to enable TFAT file system? ... sadden power off. ... somewhere in the mid of the flash block write or block ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About Filesystem and partition
    ... crashed,OS can auto format the bad data partition by set "AutoFormat" ... somewhere in the mid of the flash block write or block ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About Filesystem and partition
    ... strata flash driver, then make sure that you have the latest QFEs (to ... crashed,OS can auto format the bad data partition by set "AutoFormat" ... somewhere in the mid of the flash block write or block ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)
  • About Filesystem and partition
    ... 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, ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Ayn (PD?) work for FORTH on PIC 24... processors?
    ... When writing to flash you must copy the flash block ... to ram (ibuffer) and write first to ibuffer. ...
    (comp.lang.forth)