Hello,
I use DWT in Cortex-M4 to catch instructions that write or read memory contents and the problem is it doesn't stop immediately where I expect, it stops after 2-3 instruction later than where it should and the contents of registers are overwritten, sometimes the branch are changed.
Where can I find any documentation about the reason for this behavior?
Is it because of instruction execution ordering? Can I disable it somehow?
Thanks