Re: write() has returned, but data is not completely write into flash?

From: Michael Schnell (mschnell_at_lumino_dot_de_at_hotmail.com)
Date: 04/01/05

  • Next message: Oliver Fels: "Re: Opie 1.2 released"
    Date: Fri, 01 Apr 2005 12:10:09 +0200
    
    

    > I reboot my device immediately. But after rebooting, I
    > found the file written in flash is not complete

    In addition to file system cacheing problems that can be solved via
    "sync", the flash system itself (e.g. a Compact Flash card) might have a
    reset feature (pin or command).

    The rebooting might trigger this reset and thus the Flash system might
    abort the write cycle. This might result in bad data, file system error
    or even in destruction of the internal bad block lists of the Flash
    system and same would become completely unusable.

    -Michael


  • Next message: Oliver Fels: "Re: Opie 1.2 released"

    Relevant Pages

    • Re: Throughput question with CF/DiskOnChip
      ... commands that allow to revive the CF by rewriting the address allocation ... CF) but that is a quite naked flash chip. ... (e.g. the FAT with a DOS file system, ... but of course you need a media access driver ...
      (comp.os.linux.embedded)
    • Re: FlashROM as a disk in CE 5.0
      ... FileSystem Starting - starting with clean file system ... Lower flash. ... 0x83fc8994: FLASHDRV.DLL:Unable to initialize FLASH Media Driver. ... I have added the Registry settings to Project.reg file like ...
      (microsoft.public.windowsce.platbuilder)
    • Re: STRATA flash driver - Not able to persist data
      ... Are you saying that you store data in the flash drive and after rebooting ... I have implemented the file system thro' stratad.dll. ... 0x83fc88a4: FS: Registering file system ROM, index 2, flags 0x00000031 ... doesn't exist for logical sector 0x3c!!! ...
      (microsoft.public.windowsce.platbuilder)
    • Re: need help trying to integrate IPSM
      ... As I mentioned, I left the first 59MB out of PSM, leaving the ... What I'm doing now in the catalog is checking ROM-only File System instead ... exclude the area of the flash that is ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Persistent Registry on Onboard Flash
      ... Copy the folder to you platform to build it. ... > Our Onboard Flash is Intel TE28F128. ... > for Persistent Registry purpose.If Yes, ... >> You need to have a flash file system. ...
      (microsoft.public.windowsce.platbuilder)

    Loading