Hello
for microcontroller LPC4078
there is some function code, an example or AppNote that show (when microcontroller is set CRP2 or CRP3 (only after all tests done with CPR2) ) how to reinvokeISP and allows the ISP uart function to be re-enabled(with flash magic).
best regards