Using OpenOCD to program the LPC1115 LPCXpresso board

Unfortunately NXP uses a built-in programmer in the LPCXpresso board called LPCLink that is not supported by OpenOCD and there is not (AFAIK) an option to replace its firmware.

Then I decided to cut the board to separate the “LPCXpresso LPC1115 REV A” from the LPCLink programmer.

So I used a simple and low cost STLink-v2 programmer board that is supported by OpenOCD. In order to use OpenOCD to reprogram the LPC1115 board we need to connect four wires from STLink-v2 to LPC1115 board: