Hi
I'm trying to create and mount a FATFS partition from NAND flash
(CE6). In control panel -> storage manager I see a DSK1 partition.
When adding files to the mounted folder the files are actually put in
flash (Checked from outside of OS). However when rebooting the system,
this partition is never detected so at every reboot the entire flash
is reformated and a new DSK1 partition is created. If registry
settings autoformat and autopartition is '0' it simply does not mount
anything.

I have located that the FAL is responsible for the erase by
automatically calling SecureWipe() from the function
BuildupMappingInfo(). Why this is done is a mystery to me.

Any input whould be greatly appreciated.

/John

Re: FATFS partition on NAND flash erased at reboot by Gary

Gary
Tue Nov 06 09:51:57 PST 2007

Hi John,
Do you still have the MSFlash registry settings telling the FAL to
autoformat?

--Gary

<nobodyno33@gmail.com> wrote in message
news:1194256184.674304.96110@k79g2000hse.googlegroups.com...
> Hi
> I'm trying to create and mount a FATFS partition from NAND flash
> (CE6). In control panel -> storage manager I see a DSK1 partition.
> When adding files to the mounted folder the files are actually put in
> flash (Checked from outside of OS). However when rebooting the system,
> this partition is never detected so at every reboot the entire flash
> is reformated and a new DSK1 partition is created. If registry
> settings autoformat and autopartition is '0' it simply does not mount
> anything.
>
> I have located that the FAL is responsible for the erase by
> automatically calling SecureWipe() from the function
> BuildupMappingInfo(). Why this is done is a mystery to me.
>
> Any input whould be greatly appreciated.
>
> /John
>



Re: FATFS partition on NAND flash erased at reboot by nobodyno33

nobodyno33
Fri Nov 09 04:42:45 PST 2007

hi Gary, thank you for your reply

I have tried all possible combinations of registry settings for
autoformat and autopart. All resulting in the same fact that the area
on the flash where my partition is supose to be located is always
erased before the flags are even checked.

However I now suspect that there is a problem with my flash layout
sector. Is seems that it is not found at all and therefore a new flash
region is recreated at every reboot.

/John