We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am working with the Arm Cortex-R5F CPU.
I would like to know how to configure the debugger so that execution halts at the instruction causing the fault, before entering the abort handler. Specifically, my goal is to stop at a breakpoint whenever an invalid memory access occurs (e.g., accessing an unmapped or protected address), instead of only observing the crash once control has already moved into the abort handler.
Could you please advise on the recommended way to achieve this on R5F?
Thank you,Regards,
Eli Mordel
Hello Eli
I have moved your query to the Arm Development Studio specific forum, though you have not said specifically which toolchain you are using.
Arm processors have a special vector catch 'breakpoint' that traps these events, and can be controlled in the debugger with the Manage Signals pane:
https://developer.arm.com/documentation/101470/2025-0/Controlling-Target-Execution/Handling-processor-exceptions