I am new to ARM / Keil.
I am about to start a project using Nand Flash. My project will write sequential data to the Nand Flash (like data logging). Data will always be appended in a circular buffer type method, i.e. I will write data until the Flash is full and then start again from the begining.
My question is, if I use the Keil file system, when is data written to the FAT? If I create and open a file for appending, write data to the file and then close the file, the FAT is modified at every write, but is this stored in a RAM buffer that is written to the Flash at Close File or is a Flash block being written then erased each time the file is appended?
I intend to write data at 1 second intervals, but only open and close files at application start or finish.
regards
Konrad
Sorry, I did not mean append (you can do this) I mean overwrite a portion of the file (r+) I was doing something very similar to what you describe and in the end decided to skip the file system and write to flash directly.
M