Content originally posted in LPCWare by MarcVonWindscooting on Fri Oct 18 06:19:32 MST 2013
I'm sure, someone else provides you with an appnote or similar.
I try to do most things myself. The user manual provides enough information.
In your case I would use sector 12 at 0x0000 C000.
Perform prepare, sector erase, copy RAM-to-FLASH.
Use the smallest block size (256B). Put your data into an array/structure-union temporarily allocated on the stack and do a copy RAM-to-FLASH with that array.