ts-7000
[Top] [All Lists]

[ts-7000] yaffs2 and corrupted files

To:
Subject: [ts-7000] yaffs2 and corrupted files
From: "marcolamonato" <>
Date: Tue, 17 Oct 2006 12:26:18 -0000
Hi,

I have a TS-7250 32MBof ram and 32MB of flash. The program, written in
C, running inside has sometimes to access to 32 bytes long local files
for both reading and writing. The machine where I installed the board
is sometimes turned off without shutting down the system, so, if the
program is in that same moment writing to the 32 bytes file, I'll find
it to be 0 bytes on the next boot and that is what I could expect, no
problem here.
My question is, as long as flash chip are accessed by blocks probably
bigger than my 32 bytes, when I get my_file.txt corrupted down to 0
bytes do I have to take care about other files in the flash that could
have been involved in the writing failure of a bigger block?
Will Yaffs2 handle it in such a way that only my_file.txt (32 bytes
long) will be affected?

Thanks,
Marco




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] yaffs2 and corrupted files, marcolamonato <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU