This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Nand Flash and FAT

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

Parents Reply Children