Content originally posted in LPCWare by LessThanZero on Wed May 27 21:51:39 MST 2015
It sounds overly complicated to try to use the ISP. The IAP is the programming interface used by the ISP to program/verify/erase flash. The IAP is available for use by your application code, provided your code executes out of SRAM.
You still need to solve the problem how to manage the firmware upload using the GSM/UART. You should manage this such that you have at least a supported page size (e.g. 256, 512, 1024, 4096) before using the Copy RAM to Flash command. The LPC1115 has 8 kB SRAM, so this should be adequate space for your code and a decent sized buffer.
LessThanZero