Hello, My App (cortex m4) 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.I searched in the forum and tried the method.
1. DebugMon Enable2. FP_COMP Setting3. FP_CONT SET
But Never jump to DebugMon_Handler.I wonder if any other settings are needed.
I found the reason.The key of FP_CONT must also be set.
(*(volatile unsigned int*)0xE0002000) |= 0x3;
Now, just post the working code, so other may benefit from your findings.
View all questions in Cortex-M / M-Profile forum