Hi, my app (cortex m3) needs to set up a breakpoint directly from code, in order to jump to an interrupt when an instruction from a certain address is fetched. This WITHOUT using a debugger.
Any hint or tutorial? I think the only possible way is the patch block but it seems quite complicated.
Best regards
Franto
Most CM3 based SoC have a Trace and Debug unit. You can use these to set break points just like a debugger would do. You'll end up in the abort exception.
I know of no tutorial, but the reference manuals shall help.