Content originally posted in LPCWare by JohnR on Wed Mar 28 19:16:12 MST 2012
Some progress.
I set the "Vector catch" entry to true.
Now the debugger starts. It won't however stop on a breakpoint until the debugger is stopped using the Suspend button.
In the example Hitex_BlinkyLED_SST in the loop
while (1)
{ // Loop forever
msec = 50;
while(msec);
GPIO_ClearValue(D6_PORT,(1<<D6_BIT));
msec = 50;
while(msec);
GPIO_SetValue(D6_PORT,(1<<D6_BIT));
}
Hitting the Suspend button will halt the program in one of the while(msec) lines. If a subsequent breakpoint, at GPIO_SetValue() for instance, is set and the Resume button is hit, the debugger will restart but sometimes will stop at the breakpoint, sometimes not.
Still this is better than nothing but any ideas are still most welcome.
John