Content originally posted in LPCWare by CodeRedSupport on Thu Apr 08 08:16:40 MST 2010
I've attached a screenshot of the VECTPC being shown when a hard fault is encountered on LPC11. It looks like you are executing an instruction that causes a hard fault on the LPC11 before the debugger can take action to display VECTPC.
Try setting a breakpoint in the startup code (ie inside cr_startup_lpc11.c, say on the call to SystemInit() ) - this might then allow your code to load without the hard fault being triggered. You should then be able to single step / run until the cause of the hard fault is hit. Hopefully you will then see VECTPC displayed.
Regards,
CodeRedSupport