Content originally posted in LPCWare by Sal Ammoniac on Sat Aug 23 16:56:27 MST 2014
Here's an example project cut down to the bare minimum that exhibits this behavior.
If a breakpoint is set in the PendSV handler, the debugger hangs with and error dialog and will not go any further without resetting the board.
If the breakpoint is not set, then everything runs fine.
For some reason, setting a breakpoint in the PendSV handler causes this strange behavior.
If I turn off hardware floating point (by changing "FPv4-SP (Soft ABI)" to "None") in the properties dialog, this problem does not occur when the breakpoint in the PendSV handler is hit.