Erase flash memory of LPC11u14

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Frankb on Thu Mar 07 06:26:05 MST 2013
Hi, Im trying to erase the flash memory of the lpc11u14 i have using LPCxpresso v4.3.0. For this I am using "program flash" button on the top of the screen. And then I try "mass erase" in the "erase flash memory" tab. I get the following error:

04: failed to erase flash Ep(08): Cannot access core regs when target running

So apparently the microprocessor is running, but I cant figure out how to stop it! Any suggestions?