LPC824 not debuggable after first time

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by effihome on Thu Oct 16 11:45:28 MST 2014
I recently built a breakout board for LCP824. I tried to built a openC application and that loaded on the board via LCPexpresso V1 debug board.
I was able to breakpoint the code etc.

I then tried to run the 812 sample application (periph_blinky). I changed the MCU to LPC824 in the settings and then I got following error:
02: Failed on connect
  02: Failed on connect
  Target marked as not debuggable.
  Emu(0): Connected. Was: None. DpID:     EDB6. Info: WIN64HS12

Now I cannot load anything onto the board - not even the openC project that I was loading earlier. I get the same error.

I tried the ISP method and vector catch but nothing fixes the issue. I am not able to erase the flash either via the GUI built into the LCPExpresso IDE.

How can I regain access to the CPU?