Re: Compute flash life time

From: linnix (me_at_linnix.info-for.us)
Date: 05/19/05

  • Next message: Fester: "Re: memory leak tool..."
    Date: 19 May 2005 07:53:35 -0700
    
    

    giangiammy@yahoo.com wrote:
    > Hi all,
    >
    > and sorry for the obvious question, but I'm trying to
    > estimate my flash life, depending on write operation.
    >
    > I'm using JFFS2:
    > If I have 1 M flash, and write 128byte/s in a circular
    > buffer style: I compute, with 100000 write cycles to
    > have a 9000 day flash life (100000 * 1024*1024/128 seconds).
    >
    > But in this way I suppose that each 128 blob of data
    > I write, effectively write 128 bytes of flash: but
    > I'm trying to understand:
    >
    > - what is the filesystem overhead?
    > - when I write 128 bytes, the filesystem writes effectively
    > 128 bytes, or writes an entire sector?

    The file system writes a sector of 512 bytes, but the flash erase
    and write a cluster of 1024, 2048, 4096 or 8192 bytes. Cluster sizes
    are higher for bigger flash. For 1M, I believe it's 1024, or approx.
    100 days.

    > - to do my computation, is it correct the formula I used,
    > or do I need to substitute the 128 value with the flash
    > sector size?

    Yes, see http://cfd.linnix.com/mtbf.html

    >
    > Sorry if the questions are obvious, but I'm almost new to JFFS2
    >
    > thanks
    > giammy


  • Next message: Fester: "Re: memory leak tool..."

    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)