2015-09-01 03:13 AM
Hi, i have intefaced K9F1G08U0B to stm32f103ZET6 controller to store few images and use it later in my application, but i want to know is it possible to store multiple files with different offset address. I came to know from datasheet of above said nand flash that we can able to erase data only in block wise but i want to it is possible to erase data in page wise. please help me how to overcme this issue?
2015-09-01 09:10 AM
You have to manage the NAND device and it's blocks. Normally people layer a file system on top, but this isn't required if you're willing to explicitly manage where you put data.
Yes, you're likely to need to erase large blocks, to overwrite/insert data into a large block you have to read the original data to a holding buffer, erase, and write back the old/new data. Alternatively you can advance to a new, empty, large block and write the old/new data in there, and then invalidate the old data.2015-09-03 11:08 PM
Hi clive thank you for your fast reply, on what basis we connect FSMC_A16 --> CLE and FSMC_A17--> ALE of NAND flash