Content originally posted in LPCWare by wrighflyer on Wed Mar 06 06:08:27 MST 2013
Quote: Gustavo
I saw the User's Manual but it seems it only manages 256-byte blocks.
Do I have to rewrite the functions to R/W a different block length ?
The "page-ness" of Nand is always going to be the drawback of flash storage compared to using EEPROM externally or in other micros. If you can afford the space just use a whole 256 page for the storage of a single item. Otherwise, yes, you have to implement a scheme where to change just a few bytes within a page you need to copy the entire thing, change the few bytes, then write back the whole thing.