Hello,
I am working on ARM-Cortex-M and i am trying to get the values currently stored in registers <Xt>. To test this, i want to write a random value to X3 and attempt a read.
As i understand, this should be possible by performing the following operations:
However doing this i do not see the expected data, is this process correct?
Was MDCCSR_EL0.TXfull (which is an alias of EDSCR.TXfull) clear before you wrote DBGDTRTX_EL0? And did it become set after the write?
I suspect you might be missing some barriers. I'd expect a sequence along the lines of: