Content originally posted in LPCWare by lpcxpresso-support on Mon May 23 05:47:44 MST 2016
Your question is too vague to provide a compete answer.
The internal flash on an LPC1769 is divided up into a number of sectors.
A sector is the smallest 'unit' of flash that can be erased.
Each sector of flash is divided up into a number of pages.
A page is the smallest 'unit' of flash that can be programmed (a number of page sizes may be available).
Flash memory must be erased before it is programmed.
Flash memory will appear within the MCU memory map with sector 0 at the lowest (base) address, sector 1 at base address + size of sector 0 etc.
So the decision as to which sector to write must reflect how you wish your data to appear within the MCU memory map.
I hope this answers your question.
Yours,
LPCXpresso-support