This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cannot access arm debug register

we want to debug our program through ethernet(RJ45), but here are some problems

1, Does cortex-m debug register(FP_CTRL, FP_COMP0) only be accessible through the Debug Access Port (DAP) interface ? that means we cannot set these registers with the code running in internal FLASH, but can only set them through external SWD/JTAG?

2, if we are not able to set these debug registers, then if we still want to support debugging through ethernet, that means we have to use software breakpoint instead of hardware breakpoint, and must run our code in RAM ?

Could anyone give us some advice? thank you so much !