I want to test all my exception handlers; but have so far failed miserably at forcing a usage exception.
I tried disabling FPU and running a FPU instruction, but this resulted in HARD Fault rather than USAGE Fault.
Anyone know a good way to foce such an exception?
There is the "und" instruction (permanetly undefined), maybe this helps.
But if you end up in hard fault, maybe you did not set the right bits in SHCSR?