Now we have code to connect to the serial port, put the LPC into ISP mode, unlock the flash, and update echo and serial port settings. The code's way nicer than lpc21isp so far, which is all I really wanted I guess.