How can I force a Usage (instruction) exception in cortex m4

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?

Parents Reply Children
No data