As you might have realized, this MCU has only 4kByte of EEPROM.
A chip lockup usually happens because of a fault exception happens inside a fault exception handler. Thus, the core locks up to prevent random actions and possible damage. This is usually resolved by a power cycle.
If a debugger-connect under reset does not work, you might need to get the MCU into system mode, i.e. start into the ROM bootloader, and do a mass erase.
I don't work with the LPC8, but the exact requirements for this procedure should be documented in the user manuals and/or application notes.