Re: Have ext3 on SanDisk CF but can't disable write-back cachingas kernel instructs

From: Michael Schnell (mschnell_at_lumino.de)
Date: 07/14/03


Date: Mon, 14 Jul 2003 08:34:19 +0200


>
> I don't think so. Any disk write is based on a sector base. Using a "by
> sector" checksum, you can determine a garbled sector (an there can't be
> more than one). If you additionally use journalling, it is safe (except
> the checksum fails or the house is burning down ;-).
>

The CF decides by itself how to sore the sector. Internally they use
flash pages much bigger than sectors and do a complicated housekeeping
involving a RAM at least as big as a flash page. So if you write a
sector, other sectors already stored in the Flash will be moved. If
power is turned off in the process, internal allocation tables can be
damaged, destroying everything stored in the device. I heard that there
are (or will be) CF cards that include a battery to prevent this, but I
did not yet see any specs.

-Michael



Relevant Pages

  • Re: What NAND flash is compatible with FAL?
    ... since FAL cannot use all optimizations present in OneNAND ... Basically a OneNAND is nothing else than a conventional NAND flash ... together the 64 bytes of spare area per page you have enough room to ... The FAL writes sector state information to the Flash device. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: What NAND flash is compatible with FAL?
    ... since FAL cannot use all optimizations present in OneNAND ... Basically a OneNAND is nothing else than a conventional NAND flash ... The FAL writes sector state information to the Flash device. ... spare spare area to record the FAL's state data. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: What NAND flash is compatible with FAL?
    ... this limitation which is common to all NAND and NOR flash devices. ... store the sector info plus CRC. ... Microsoft's Flash Abstraction Layer with Samsung's OneNAND flash ... spare spare area to record the FAL's state data. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Bootloader Placement
    ... flash which, firstly copies all code and data from flash to RAM and then ... which has the bootloader code as part of it. ... code and have the boot loader pass control to the application once it has ... My thoughts were to define the first flash sector as a seperate linker ...
    (comp.arch.embedded)
  • Re: What NAND flash is compatible with FAL?
    ... This issue is one of the reasons MS implemented a new flash driver in CE6 ... which is present on MLC flash devices as well as other large sector SLC ... since FAL cannot use all optimizations present in OneNAND ... together the 64 bytes of spare area per page you have enough room to ...
    (microsoft.public.windowsce.platbuilder)