If you have a free 8 KB sector, why not write successive 32 byte blocks until you reach the end of the sector and then erase. You can search linearly to find the most recent block of nv-data (blank flash is all "f's"). This method works well and adheres to the various "rules" regarding flash programming. JT
Message
Re: Re_ [lpc2000] Non-Volatile Memory
2005-06-10 by johnthomasedwardtimm